Created
December 12, 2021 23:47
-
-
Save geeksilva97/909ebb54029033dea0afbd0206e853ea to your computer and use it in GitHub Desktop.
Results of Benchee tail call recursion
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
Name ips average deviation median 99th % | |
factorial with tail call recursion 0.0921 10.85 s ±0.00% 10.85 s 10.85 s | |
factorial with normal recursion 0.0903 11.07 s ±0.00% 11.07 s 11.07 s | |
Comparison: | |
factorial with tail call recursion 0.0921 | |
factorial with normal recursion 0.0903 - 1.02x slower +0.22 s | |
Memory usage statistics: | |
Name Memory usage | |
factorial with tail call recursion 0 B | |
factorial with normal recursion 0 B - 1.00x memory usage +0 B | |
----- | |
Name ips average deviation median 99th % | |
factorial with normal recursion 0.0431 23.23 s ±0.00% 23.23 s 23.23 s | |
factorial with tail call recursion 0.0362 27.59 s ±0.00% 27.59 s 27.59 s | |
Comparison: | |
factorial with normal recursion 0.0431 | |
factorial with tail call recursion 0.0362 - 1.19x slower +4.37 s | |
Memory usage statistics: | |
Name Memory usage | |
factorial with normal recursion 0 B | |
factorial with tail call recursion 0 B - 1.00x memory usage +0 B |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment