COZ(1)
π COZ(1) β like, the coz manual but make it make sense
okay bestie, gather round π«Ά this is the manual page for coz, from the User Commands corner of the manual-verse. It's a profiler that runs experiments on multithreaded code. Yes. That's the whole vibe. Let's go β¨
β¨ NAME β¨
coz β a profiler that runs experiments on multithreaded code π
π SYNOPSIS π
coz run [profiling options] --- <command> [args]
coz plot [-h]
yes the triple dash is real, it's not a typo, it's a whole separator, respect it π
π¦ DESCRIPTION π¦
So here's the tea, and it's hot: Coz is a new kind of profiler, one that unlocks optimization opportunities that traditional profilers literally justβ¦ miss. π Not their fault, they just weren't built for this.
Coz uses a technique called causal profiling, and it measures something called optimization potential. And the way that this measurement matches what developers already assumed profilers did? Iconic. Because the assumption has always been: optimizing the highly-ranked code is gonna give you the biggest performance glow-up. π₯
Causal profiling measures optimization potential for serial, parallel, and asynchronous programs, and it does it without instrumenting special handling for library calls and concurrency primitives. No cap. Instead, a causal profiler runs performance experiments to predict the effect of optimizations. Which means it can actually establish causality: "optimizing function X will have effect Y" β exactly the measurement developers thought they were getting all along. π periodt.
π OPTIONS π
-h,--helpβ show this help message and exit. the classic. the goat. π--binary-scope <filepattern>,-b <filepattern>β profile matching executables. Use'%'as a wildcard, or'MAIN'to include the main executable (default=MAIN). π―--source-scope <filepattern>,-s <filepattern>β profile matching source files. Use'%'as a wildcard. (default=%) π--progress <source file>:<line number>,-p <source file>:<line number>β [NOT SUPPORTED] add a sampling-based progress point. yeah bestie it's not supported, don't come for me, I'm just the messenger π--output <profileoutput>,-o <profileoutput>β profiler output (default=profile.coz) πΎ--end-to-endβ run a single performance experiment per-execution πβοΈ--fixed-line <source file>:<line number>β evaluate optimizations of a specific source line π--fixed-speedup <speedup>(0-100) β evaluate optimizations of a specific amount. note the range, it's0-100, don't get creative β‘
π«Ά SEE ALSO π«Ά
- http://coz-profiler.org
man gdb
π AUTHOR π
Petter Reinholdtsen β pere@hungry.com π
π§ COPYRIGHT π§
public domain β she's free, she's generous, she belongs to the people π
okay that's the whole page!! version 0.1, dated 2016-08-15, and yes this manual is lowkey a time capsule but she still ate π β¨ go profile something bestie, ily, bye!! πΈ
π¦ where this page comes from
- debian bookworm: coz-profiler 0.2.2-2 Β· BSD-2-Clause
- ubuntu jammy: coz-profiler 0.2.2-2 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms