Optimize flow analysis (~25% faster). Report count of skipped lines, if any. #10

Merged
merged 2 commits into from Mar 17, 2013

Projects

None yet

2 participants

@timbunce
Contributor

Optimizations to speed processing of large files and/or slow machines.

timbunce added some commits Mar 17, 2013
@timbunce timbunce Add options for tunables. Add more tunables. Commify sample count. c1059bc
@timbunce timbunce Optimize flow anlysis (~25% faster). Report count of skipped lines, i…
…f any.

Using dumbench (https://metacpan.org/module/Dumbbench) to run flamegraph
on a file with ~140,000 lines:
old: Rounded run time per iteration: 3.472e+00 +/- 1.7e-02 (0.5%)
new: Rounded run time per iteration: 2.618e+00 +/- 1.3e-02 (0.5%)
daa7cf6
@brendangregg
Owner

impressive, thanks!

@brendangregg brendangregg merged commit 0bc421a into brendangregg:master Mar 17, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment