Skip to content

Results with Apple M1 processor #9

@lemire

Description

@lemire
❯ rustc --version
rustc 1.49.0 (e1884a8e3 2020-12-29)

~
❯ uname -a
Darwin MacBookPro2020 20.2.0 Darwin Kernel Version 20.2.0: Wed Dec  2 20:40:21 PST 2020; root:xnu-7195.60.75~1/RELEASE_ARM64_T8101 arm64


cargo run --release -- file /data/canada.txt
    Finished release [optimized] target(s) in 0.01s
     Running `/Users/lemire/CVS/github/fast-float-rust/target/release/fast-float-simple-bench file /Users/lemire/CVS/github/fast_double_parser/benchmarks/data/canada.txt`
=====================================================================================
|                         canada.txt (111126, 1.93 MB, f64)                         |
|===================================================================================|
|                                                                                   |
| ns/float                min       5%      25%   median      75%      95%      max |
|-----------------------------------------------------------------------------------|
| fast-float            14.96    14.96    14.98    14.99    15.00    15.11    16.54 |
| lexical               47.55    47.57    47.59    47.63    47.82    48.52    51.50 |
| lexical/lossy         47.60    47.62    47.65    47.72    47.88    48.57    52.71 |
| from_str             136.74   137.03   137.60   138.06   138.48   141.75   288.85 |
|                                                                                   |
| Mfloat/s                min       5%      25%   median      75%      95%      max |
|-----------------------------------------------------------------------------------|
| fast-float            60.45    66.20    66.65    66.73    66.74    66.84    66.86 |
| lexical               19.42    20.61    20.92    20.99    21.01    21.02    21.03 |
| lexical/lossy         18.97    20.60    20.89    20.96    20.99    21.00    21.01 |
| from_str               3.46     7.06     7.22     7.24     7.27     7.30     7.31 |
|                                                                                   |
| MB/s                    min       5%      25%   median      75%      95%      max |
|-----------------------------------------------------------------------------------|
| fast-float          1051.83  1151.95  1159.75  1161.21  1161.44  1163.18  1163.50 |
| lexical              337.91   358.70   363.96   365.31   365.63   365.77   365.94 |
| lexical/lossy        330.12   358.50   363.45   364.68   365.17   365.46   365.60 |
| from_str              60.24   122.79   125.67   126.04   126.47   126.99   127.26 |
|                                                                                   |
=====================================================================================

❯ cargo run --release -- random uniform

    Finished release [optimized] target(s) in 0.01s
     Running `/Users/lemire/CVS/github/fast-float-rust/target/release/fast-float-simple-bench random uniform`
=====================================================================================
|                           uniform (50000, 0.87 MB, f64)                           |
|===================================================================================|
|                                                                                   |
| ns/float                min       5%      25%   median      75%      95%      max |
|-----------------------------------------------------------------------------------|
| fast-float            11.52    11.53    11.53    11.54    11.59    12.12    52.19 |
| lexical               42.92    42.93    42.96    42.98    43.01    43.35    47.00 |
| lexical/lossy         42.77    42.78    42.84    42.95    43.52    44.51    47.42 |
| from_str              74.71    74.78    74.87    74.92    75.01    75.46    81.47 |
|                                                                                   |
| Mfloat/s                min       5%      25%   median      75%      95%      max |
|-----------------------------------------------------------------------------------|
| fast-float            19.16    82.50    86.28    86.66    86.70    86.73    86.80 |
| lexical               21.28    23.07    23.25    23.27    23.28    23.30    23.30 |
| lexical/lossy         21.09    22.47    22.98    23.28    23.34    23.37    23.38 |
| from_str              12.27    13.25    13.33    13.35    13.36    13.37    13.38 |
|                                                                                   |
| MB/s                    min       5%      25%   median      75%      95%      max |
|-----------------------------------------------------------------------------------|
| fast-float           333.92  1437.58  1503.42  1510.15  1510.80  1511.35  1512.55 |
| lexical              370.80   402.07   405.16   405.43   405.67   405.94   405.98 |
| lexical/lossy        367.45   391.49   400.47   405.73   406.81   407.31   407.38 |
| from_str             213.89   230.92   232.31   232.58   232.75   233.02   233.23 |
|                                                                                   |
=====================================================================================

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions