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

Add nom (parsing) runtime benchmark #1646

Merged
merged 1 commit into from
Jul 11, 2023

Conversation

Kobzol
Copy link
Contributor

@Kobzol Kobzol commented Jul 8, 2023

Finished parsing/nom-json (1/1)
    [Instructions]: min:   2,711,587,765    mean:    2,713,278,321    stddev:     891,427
          [Cycles]: min:     915,086,050    mean:      926,997,372    stddev:  11,265,969
  [Wall time [µs]]: min:         217,953    mean:          223,087    stddev:       5,706
   [Branch misses]: min:       3,014,519    mean:        3,040,071    stddev:      27,916
    [Cache misses]: min:       1,489,646    mean:        1,506,723    stddev:       9,761

Later we could also add some binary format parsing, e.g. FLV or MKV.

@Kobzol Kobzol requested a review from nnethercote July 8, 2023 12:10
@Kobzol Kobzol force-pushed the runtime-benchmark-parsing branch from 9301e8a to 6e946d8 Compare July 8, 2023 12:11
Simple JSON parser written with `nom`.
@Kobzol Kobzol force-pushed the runtime-benchmark-parsing branch from 6e946d8 to c6c9452 Compare July 11, 2023 08:09
@Kobzol Kobzol enabled auto-merge July 11, 2023 08:10
@Kobzol Kobzol merged commit 25ee2ba into rust-lang:master Jul 11, 2023
@Kobzol Kobzol deleted the runtime-benchmark-parsing branch July 11, 2023 08:22
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.

2 participants