-
-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add fend to comparison table #662
Comments
I noticed a performance difference. Fend is quite fast: $ hyperfine 'echo 1 ft to cm | numbat' 'echo 1 ft to cm | fend'
Benchmark 1: echo 1 ft to cm | numbat
Time (mean ± σ): 562.6 ms ± 47.3 ms [User: 98.9 ms, System: 9.3 ms]
Range (min … max): 495.2 ms … 622.7 ms 10 runs
Benchmark 2: echo 1 ft to cm | fend
Time (mean ± σ): 3.4 ms ± 0.1 ms [User: 1.9 ms, System: 2.3 ms]
Range (min … max): 3.2 ms … 4.1 ms 572 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
echo 1 ft to cm | fend ran
163.32 ± 14.54 times faster than echo 1 ft to cm | numbat |
Do you use a release build of Numbat? 560 ms seems very slow. I see something like 135 ms (which is still quite slow, maybe we should investigate why the REPL is much slower than
This is still slower then However, if you have a non-toy example where Numbat is much slower than |
Thanks @sharkdp, using Yes, I'm using a release build. |
Add Fend to comparison table.
The text was updated successfully, but these errors were encountered: