Skip to content
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

M1 Benchmarks #17

Closed
hoxxep opened this issue Aug 3, 2023 · 1 comment
Closed

M1 Benchmarks #17

hoxxep opened this issue Aug 3, 2023 · 1 comment
Assignees

Comments

@hoxxep
Copy link
Contributor

hoxxep commented Aug 3, 2023

Making a separate issue for cleanliness.

Issue #10 point (3) described needing ARM / aarch64 benchmarks. Attached are M1 benchmarks that I can include into BENCHMARKS.md if helpful?

Running benches/benchmark.rs (target/release/deps/benchmark-dcc1722be38d6f11)

Clone Trc               time:   [29.543 ns 29.583 ns 29.630 ns]
Clone Arc               time:   [19.866 ns 19.898 ns 19.939 ns]
Clone Rc                time:   [16.147 ns 16.167 ns 16.192 ns]

Multiple clone Trc      time:   [439.11 ns 439.65 ns 440.27 ns]
Multiple clone Arc      time:   [968.11 ns 969.31 ns 970.65 ns]
Multiple clone Rc       time:   [409.21 ns 409.79 ns 410.41 ns]

Deref Trc               time:   [16.216 ns 16.234 ns 16.254 ns]
Deref Arc               time:   [16.603 ns 16.658 ns 16.732 ns]
Deref Rc                time:   [15.510 ns 15.527 ns 15.546 ns]

Multiple deref Trc      time:   [48.608 ns 48.942 ns 49.274 ns]
Multiple deref Arc      time:   [48.444 ns 48.821 ns 49.214 ns]
Multiple deref Rc       time:   [46.125 ns 46.199 ns 46.293 ns]

Multiple threads Trc    time:   [1.6919 ms 1.7013 ms 1.7121 ms]
Multiple threads Arc    time:   [2.6750 ms 2.6922 ms 2.7177 ms]

Multiple threads Trc Medium
                        time:   [1.9873 ms 1.9988 ms 2.0110 ms]
Multiple threads Arc Medium
                        time:   [6.4657 ms 6.4865 ms 6.5094 ms]

Multiple threads Trc Long
                        time:   [8.1004 ms 8.1267 ms 8.1547 ms]
Multiple threads Arc Long
                        time:   [97.849 ms 97.950 ms 98.056 ms]

Multiple threads Trc Super
                        time:   [34.427 ms 34.517 ms 34.609 ms]
Multiple threads Arc Super
                        time:   [476.58 ms 476.73 ms 476.88 ms]
@EricLBuehler EricLBuehler self-assigned this Aug 3, 2023
@EricLBuehler
Copy link
Owner

Thank you for running those tests! If you could submit a pull request updating BENCHMARKS.md, that wouldbe wonderful. I will update the graphs with your new benchmarks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants