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

bigstring-intrinsics: use them #113

Merged
merged 1 commit into from Dec 17, 2017
Merged

bigstring-intrinsics: use them #113

merged 1 commit into from Dec 17, 2017

Conversation

seliopou
Copy link
Member

Prior to this commit, caml_ba_get_N was at the top of the perf report for the json benchmark. Using intrinsics, those have disappeared from the report and performance has improved.

Before:

┌─────────────┬─────────────┬────────────┬─────────────┬─────────────┬────────────┐
│ Name        │    Time/Run │    mWd/Run │    mjWd/Run │    Prom/Run │ Percentage │
├─────────────┼─────────────┼────────────┼─────────────┼─────────────┼────────────┤
│ twitter1    │     26.07us │     7.56kw │      10.07w │      10.07w │      0.14% │
│ twitter10   │    184.28us │    46.83kw │     270.51w │     270.51w │      0.99% │
│ twitter20   │    349.57us │    92.65kw │   1_009.03w │   1_009.03w │      1.88% │
│ twitter-big │ 18_546.65us │ 3_697.06kw │ 190_906.45w │ 190_906.45w │    100.00% │
└─────────────┴─────────────┴────────────┴─────────────┴─────────────┴────────────┘

After:

┌─────────────┬─────────────┬────────────┬─────────────┬─────────────┬────────────┐
│ Name        │    Time/Run │    mWd/Run │    mjWd/Run │    Prom/Run │ Percentage │
├─────────────┼─────────────┼────────────┼─────────────┼─────────────┼────────────┤
│ twitter1    │     16.50us │     7.56kw │      10.13w │      10.13w │      0.14% │
│ twitter10   │    115.12us │    46.83kw │     270.40w │     270.40w │      0.96% │
│ twitter20   │    227.68us │    92.65kw │   1_007.14w │   1_007.14w │      1.89% │
│ twitter-big │ 12_047.94us │ 3_697.05kw │ 191_139.09w │ 191_139.09w │    100.00% │
└─────────────┴─────────────┴────────────┴─────────────┴─────────────┴────────────┘

Prior to this commit, caml_ba_get_N was at the top of the perf report
for the json benchmark. Using intrinsics, those have disappeared from
the report and performance has improved.
@seliopou seliopou merged commit 66aba2e into master Dec 17, 2017
@seliopou seliopou deleted the bigstring-intrinsics branch December 17, 2017 01:11
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

Successfully merging this pull request may close these issues.

None yet

1 participant