POLYGRAPH-CMP-LX(1)
π POLYGRAPH-CMP-LX(1) β the manual page bestie
okay so first things first: this is polygraph-cmp-lx, aka the log comparison tool β¨ (in the User Commands section of the manual, if you're keeping track π).
β¨ SYNOPSIS β¨
like, the whole vibe in one line:
cmp-lx.pl [--precision=percent] [--scope=important|all] <f1.lx> <f2.lx>
that's it. that's the energy. π¦
πΈ DESCRIPTION πΈ
okay so Cmp-lx does the iconic thing where it takes the results from two tests, compares them, and prints out the stats that differ significantly between them π. super useful, no cap.
Now, when you're in <pink>important</pink> scope, some stats get straight-up ignored. like, they're not important, bestie, we don't care about them. the following events are not important:
*.last*.minand*.maxβ except for*.hist.minand*.hist.max(those two still matter, okay? π)*.meanif there's a corresponding*.hist.meansitting right there- rare events (more on these below, keep reading π«Ά)
But lowkey? Histogram and errors are important. always. periodt. π
Okay so about those rare events β a rare event is literally an event that happened in less than 0.1% of the cases where it could have occurred. Measurements related to such events are not important, so we're not gonna stress about them. the event rate gets calculated using the xact.started measurement as the total count (iykyk π₯).
here's the full list of events, for the record:
basic offered hit miss cachable uncachable fill ims reload range
head post put abort page ssl ftp 100_continue proxy_validations auth
tunneled proxy_validation rep req
like, all of those. every single one. not me listing them all but also it's important so π.
π OPTIONS π
--precision=percentβ this is the difference threshold, in percent. default?<yellow>10</yellow>. so yeah, if the difference is chiller than that, we don't make a big deal out of it, bestie β¨.--scope=important|allβ picks which stats we're comparing. default is<pink>important</pink>(the picky one, as described above). go withallif you want everything compared, main character energy π.
π COPYRIGHT π
Copyright Β© 2003-2006 The Measurement Factory, Inc. β like, respect the OGs, fr fr π«Ά.
π¦ SEE ALSO π¦
polygraph(7)β general information and a list of programs πhttp://www.web-polygraph.org/β the project web site, slay π
and yeah, that's the whole thing bestie! πΈ this page comes from the Web Polygraph fam (February 2010 era, iconic β¨), and it's page POLYGRAPH-CMP-LX(1) of the manual. go forth and compare those logs, queen π
π
π¦ where this page comes from
- nixos 26.05: polygraph 4.13.0
- nixpkgs unstable: polygraph 4.13.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms