Created
October 7, 2023 21:32
htmlq benchmark results
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hyperfine --warmup 300 --min-runs 3000 'cat rust.html | ./htmlq_release '#get-help' >> /dev/null' 'cat rust.html | ./htmlq_optimized '#get-help' >> /dev/null' | |
Benchmark 1: cat rust.html | ./htmlq_release #get-help >> /dev/null | |
Time (mean ± σ): 2.5 ms ± 0.1 ms [User: 1.3 ms, System: 2.0 ms] | |
Range (min … max): 2.2 ms … 3.6 ms 3000 runs | |
Warning: Command took less than 5 ms to complete. Note that the results might be inaccurate because hyperfine can not calibrate the shell startup time much more precise than this limit. You can try to use the `-N`/`--shell=none` option to disable the shell completely. | |
Warning: Statistical outliers were detected. Consider re-running this benchmark on a quiet system without any interferences from other programs. It might help to use the '--warmup' or '--prepare' options. | |
Benchmark 2: cat rust.html | ./htmlq_optimized #get-help >> /dev/null | |
Time (mean ± σ): 2.4 ms ± 0.1 ms [User: 1.2 ms, System: 2.0 ms] | |
Range (min … max): 2.1 ms … 3.3 ms 3000 runs | |
Warning: Command took less than 5 ms to complete. Note that the results might be inaccurate because hyperfine can not calibrate the shell startup time much more precise than this limit. You can try to use the `-N`/`--shell=none` option to disable the shell completely. | |
Warning: Statistical outliers were detected. Consider re-running this benchmark on a quiet system without any interferences from other programs. It might help to use the '--warmup' or '--prepare' options. | |
Summary | |
cat rust.html | ./htmlq_optimized #get-help >> /dev/null ran | |
1.07 ± 0.06 times faster than cat rust.html | ./htmlq_release #get-help >> /dev/null | |
hyperfine --warmup 300 --min-runs 3000 'cat nixos_about.html | ./htmlq_release --text .main >> /dev/null' 'cat nixos_about.html | ./htmlq_optimized --text .main >> /dev/null' | |
Benchmark 1: cat nixos_about.html | ./htmlq_release --text .main >> /dev/null | |
Time (mean ± σ): 1.6 ms ± 0.1 ms [User: 0.6 ms, System: 1.8 ms] | |
Range (min … max): 1.3 ms … 2.2 ms 3000 runs | |
Warning: Command took less than 5 ms to complete. Note that the results might be inaccurate because hyperfine can not calibrate the shell startup time much more precise than this limit. You can try to use the `-N`/`--shell=none` option to disable the shell completely. | |
Benchmark 2: cat nixos_about.html | ./htmlq_optimized --text .main >> /dev/null | |
Time (mean ± σ): 1.6 ms ± 0.1 ms [User: 0.6 ms, System: 1.8 ms] | |
Range (min … max): 1.3 ms … 2.4 ms 3000 runs | |
Warning: Command took less than 5 ms to complete. Note that the results might be inaccurate because hyperfine can not calibrate the shell startup time much more precise than this limit. You can try to use the `-N`/`--shell=none` option to disable the shell completely. | |
Summary | |
cat nixos_about.html | ./htmlq_release --text .main >> /dev/null ran | |
1.00 ± 0.10 times faster than cat nixos_about.html | ./htmlq_optimized --text .main >> /dev/null | |
hyperfine --warmup 300 --min-runs 3000 'cat nixos.html | ./htmlq_release '.whynix' --remove-nodes svg >> /dev/null' 'cat nixos.html | ./htmlq_optimized '.whynix' --remove-nodes svg >> /dev/null' | |
Benchmark 1: cat nixos.html | ./htmlq_release .whynix --remove-nodes svg >> /dev/null | |
Time (mean ± σ): 3.8 ms ± 0.2 ms [User: 2.3 ms, System: 2.3 ms] | |
Range (min … max): 3.5 ms … 5.8 ms 3000 runs | |
Warning: Command took less than 5 ms to complete. Note that the results might be inaccurate because hyperfine can not calibrate the shell startup time much more precise than this limit. You can try to use the `-N`/`--shell=none` option to disable the shell completely. | |
Warning: Statistical outliers were detected. Consider re-running this benchmark on a quiet system without any interferences from other programs. It might help to use the '--warmup' or '--prepare' options. | |
Benchmark 2: cat nixos.html | ./htmlq_optimized .whynix --remove-nodes svg >> /dev/null | |
Time (mean ± σ): 3.4 ms ± 0.1 ms [User: 2.0 ms, System: 2.3 ms] | |
Range (min … max): 3.0 ms … 5.3 ms 3000 runs | |
Warning: Command took less than 5 ms to complete. Note that the results might be inaccurate because hyperfine can not calibrate the shell startup time much more precise than this limit. You can try to use the `-N`/`--shell=none` option to disable the shell completely. | |
Warning: Statistical outliers were detected. Consider re-running this benchmark on a quiet system without any interferences from other programs. It might help to use the '--warmup' or '--prepare' options. | |
Summary | |
cat nixos.html | ./htmlq_optimized .whynix --remove-nodes svg >> /dev/null ran | |
1.11 ± 0.06 times faster than cat nixos.html | ./htmlq_release .whynix --remove-nodes svg >> /dev/null | |
hyperfine --warmup 300 --min-runs 3000 'cat rust.html | ./htmlq_release --attribute href a >> /dev/null' 'cat rust.html | ./htmlq_optimized --attribute href a >> /dev/null' | |
Benchmark 1: cat rust.html | ./htmlq_release --attribute href a >> /dev/null | |
Time (mean ± σ): 2.4 ms ± 0.1 ms [User: 1.1 ms, System: 2.1 ms] | |
Range (min … max): 2.1 ms … 3.5 ms 3000 runs | |
Warning: Command took less than 5 ms to complete. Note that the results might be inaccurate because hyperfine can not calibrate the shell startup time much more precise than this limit. You can try to use the `-N`/`--shell=none` option to disable the shell completely. | |
Warning: Statistical outliers were detected. Consider re-running this benchmark on a quiet system without any interferences from other programs. It might help to use the '--warmup' or '--prepare' options. | |
Benchmark 2: cat rust.html | ./htmlq_optimized --attribute href a >> /dev/null | |
Time (mean ± σ): 2.2 ms ± 0.1 ms [User: 1.0 ms, System: 2.1 ms] | |
Range (min … max): 1.9 ms … 3.5 ms 3000 runs | |
Warning: Command took less than 5 ms to complete. Note that the results might be inaccurate because hyperfine can not calibrate the shell startup time much more precise than this limit. You can try to use the `-N`/`--shell=none` option to disable the shell completely. | |
Warning: Statistical outliers were detected. Consider re-running this benchmark on a quiet system without any interferences from other programs. It might help to use the '--warmup' or '--prepare' options. | |
Summary | |
cat rust.html | ./htmlq_optimized --attribute href a >> /dev/null ran | |
1.06 ± 0.07 times faster than cat rust.html | ./htmlq_release --attribute href a >> /dev/null | |
hyperfine --warmup 300 --min-runs 3000 'cat mgdm.html | ./htmlq_release --pretty '#posts' >> /dev/null' 'cat mgdm.html | ./htmlq_optimized --pretty '#posts' >> /dev/null' | |
Benchmark 1: cat mgdm.html | ./htmlq_release --pretty #posts >> /dev/null | |
Time (mean ± σ): 2.0 ms ± 0.1 ms [User: 0.8 ms, System: 2.0 ms] | |
Range (min … max): 1.7 ms … 2.7 ms 3000 runs | |
Warning: Command took less than 5 ms to complete. Note that the results might be inaccurate because hyperfine can not calibrate the shell startup time much more precise than this limit. You can try to use the `-N`/`--shell=none` option to disable the shell completely. | |
Warning: Statistical outliers were detected. Consider re-running this benchmark on a quiet system without any interferences from other programs. It might help to use the '--warmup' or '--prepare' options. | |
Benchmark 2: cat mgdm.html | ./htmlq_optimized --pretty #posts >> /dev/null | |
Time (mean ± σ): 1.9 ms ± 0.1 ms [User: 0.8 ms, System: 2.0 ms] | |
Range (min … max): 1.6 ms … 2.7 ms 3000 runs | |
Warning: Command took less than 5 ms to complete. Note that the results might be inaccurate because hyperfine can not calibrate the shell startup time much more precise than this limit. You can try to use the `-N`/`--shell=none` option to disable the shell completely. | |
Warning: Statistical outliers were detected. Consider re-running this benchmark on a quiet system without any interferences from other programs. It might help to use the '--warmup' or '--prepare' options. | |
Summary | |
cat mgdm.html | ./htmlq_optimized --pretty #posts >> /dev/null ran | |
1.03 ± 0.07 times faster than cat mgdm.html | ./htmlq_release --pretty #posts >> /dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment