Created
May 13, 2018 08:59
-
-
Save tckb/4cfd89a3c2e10f307f681679b528b099 to your computer and use it in GitHub Desktop.
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
##### With input ELXIR - 5000 ##### | |
Name ips average deviation median 99th % | |
downcase_ascii_patternMatch 6.82 K 146.64 μs ±88.38% 133 μs 390 μs | |
downcase_ascii_iodata 6.14 K 162.75 μs ±161.78% 133 μs 564 μs | |
Comparison: | |
downcase_ascii_patternMatch 6.82 K | |
downcase_ascii_iodata 6.14 K - 1.11x slower | |
Memory usage statistics: | |
Name average deviation median 99th % | |
downcase_ascii_patternMatch 85.08 KB ±1.09% 85.21 KB 85.21 KB | |
downcase_ascii_iodata 78.38 KB ±0.00% 78.38 KB 78.38 KB | |
Comparison: | |
downcase_ascii_patternMatch 85.21 KB | |
downcase_ascii_iodata 78.38 KB - 0.92x memory usage | |
##### With input alpha ##### | |
Name ips average deviation median 99th % | |
downcase_ascii_iodata 1.20 M 0.83 μs ±547.37% 0.80 μs 1.50 μs | |
downcase_ascii_patternMatch 1.09 M 0.92 μs ±699.42% 0.70 μs 2.70 μs | |
Comparison: | |
downcase_ascii_iodata 1.20 M | |
downcase_ascii_patternMatch 1.09 M - 1.10x slower | |
Memory usage statistics: | |
Name Memory usage | |
downcase_ascii_iodata 512 B | |
downcase_ascii_patternMatch 632 B - 1.23x memory usage | |
**All measurements for memory usage were the same** | |
##### With input elXIr - 5000 ##### | |
Name ips average deviation median 99th % | |
downcase_ascii_patternMatch 7.68 K 130.25 μs ±31.00% 128 μs 263 μs | |
downcase_ascii_iodata 6.53 K 153.10 μs ±120.50% 130 μs 440 μs | |
Comparison: | |
downcase_ascii_patternMatch 7.68 K | |
downcase_ascii_iodata 6.53 K - 1.18x slower | |
Memory usage statistics: | |
Name average deviation median 99th % | |
downcase_ascii_patternMatch 85.08 KB ±1.09% 85.21 KB 85.21 KB | |
downcase_ascii_iodata 78.38 KB ±0.00% 78.38 KB 78.38 KB | |
Comparison: | |
downcase_ascii_patternMatch 85.21 KB | |
downcase_ascii_iodata 78.38 KB - 0.92x memory usage | |
##### With input elxir - 5000 ##### | |
Name ips average deviation median 99th % | |
downcase_ascii_iodata 7.05 K 141.76 μs ±110.03% 121 μs 406.33 μs | |
downcase_ascii_patternMatch 5.36 K 186.46 μs ±339.96% 130 μs 990.73 μs | |
Comparison: | |
downcase_ascii_iodata 7.05 K | |
downcase_ascii_patternMatch 5.36 K - 1.32x slower | |
Memory usage statistics: | |
Name average deviation median 99th % | |
downcase_ascii_iodata 78.38 KB ±0.00% 78.38 KB 78.38 KB | |
downcase_ascii_patternMatch 84.87 KB ±1.77% 85.21 KB 85.21 KB | |
Comparison: | |
downcase_ascii_iodata 78.38 KB | |
downcase_ascii_patternMatch 85.21 KB - 1.09x memory usage |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment