Skip to content

Commit

Permalink
benchmarks: add stringzilla to appropriate definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
BurntSushi committed Feb 24, 2024
1 parent 328df56 commit e1c10c5
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 0 deletions.
1 change: 1 addition & 0 deletions benchmarks/definitions/memmem/byterank.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ engines = [
"rust/memchrold/memmem/prebuilt",
"rust/sliceslice/memmem/oneshot",
"rust/sliceslice/memmem/prebuilt",
"stringzilla/memmem/oneshot",
]
analysis = '''
This benchmark demonstrates the utility of using one's own heuristic ranking
Expand Down
8 changes: 8 additions & 0 deletions benchmarks/definitions/memmem/code.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ engines = [
"rust/sliceslice/memmem/prebuilt",
"rust/std/memmem/oneshot",
"rust/std/memmem/prebuilt",
"stringzilla/memmem/oneshot",
]

[[bench]]
Expand All @@ -44,6 +45,7 @@ engines = [
"rust/sliceslice/memmem/prebuilt",
"rust/std/memmem/oneshot",
"rust/std/memmem/prebuilt",
"stringzilla/memmem/oneshot",
]

[[bench]]
Expand All @@ -68,6 +70,7 @@ engines = [
"rust/sliceslice/memmem/prebuilt",
"rust/std/memmem/oneshot",
"rust/std/memmem/prebuilt",
"stringzilla/memmem/oneshot",
]

[[bench]]
Expand All @@ -91,6 +94,7 @@ engines = [
"rust/sliceslice/memmem/prebuilt",
"rust/std/memmem/oneshot",
"rust/std/memmem/prebuilt",
"stringzilla/memmem/oneshot",
]

[[bench]]
Expand All @@ -113,6 +117,7 @@ engines = [
"rust/memchrold/memmem/prebuilt",
"rust/std/memmem/oneshot",
"rust/std/memmem/prebuilt",
"stringzilla/memmem/oneshot",
]

[[bench]]
Expand All @@ -135,6 +140,7 @@ engines = [
"rust/memchrold/memmem/prebuilt",
"rust/std/memmem/oneshot",
"rust/std/memmem/prebuilt",
"stringzilla/memmem/oneshot",
]

[[bench]]
Expand All @@ -157,6 +163,7 @@ engines = [
"rust/memchrold/memmem/prebuilt",
"rust/std/memmem/oneshot",
"rust/std/memmem/prebuilt",
"stringzilla/memmem/oneshot",
]

[[bench]]
Expand All @@ -179,4 +186,5 @@ engines = [
"rust/memchrold/memmem/prebuilt",
"rust/std/memmem/oneshot",
"rust/std/memmem/prebuilt",
"stringzilla/memmem/oneshot",
]
9 changes: 9 additions & 0 deletions benchmarks/definitions/memmem/pathological.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ engines = [
"rust/sliceslice/memmem/prebuilt",
"rust/std/memmem/oneshot",
"rust/std/memmem/prebuilt",
"stringzilla/memmem/oneshot",
]

[[bench]]
Expand All @@ -42,6 +43,7 @@ engines = [
"rust/sliceslice/memmem/prebuilt",
"rust/std/memmem/oneshot",
"rust/std/memmem/prebuilt",
"stringzilla/memmem/oneshot",
]

[[bench]]
Expand All @@ -66,6 +68,7 @@ engines = [
"rust/sliceslice/memmem/prebuilt",
"rust/std/memmem/oneshot",
"rust/std/memmem/prebuilt",
"stringzilla/memmem/oneshot",
]

[[bench]]
Expand All @@ -88,6 +91,7 @@ engines = [
"rust/memchrold/memmem/prebuilt",
"rust/std/memmem/oneshot",
"rust/std/memmem/prebuilt",
"stringzilla/memmem/oneshot",
]

[[bench]]
Expand All @@ -112,6 +116,7 @@ engines = [
"rust/sliceslice/memmem/prebuilt",
"rust/std/memmem/oneshot",
"rust/std/memmem/prebuilt",
"stringzilla/memmem/oneshot",
]

[[bench]]
Expand All @@ -134,6 +139,7 @@ engines = [
"rust/memchrold/memmem/prebuilt",
"rust/std/memmem/oneshot",
"rust/std/memmem/prebuilt",
"stringzilla/memmem/oneshot",
]

[[bench]]
Expand All @@ -158,6 +164,7 @@ engines = [
"rust/sliceslice/memmem/prebuilt",
"rust/std/memmem/oneshot",
"rust/std/memmem/prebuilt",
"stringzilla/memmem/oneshot",
]

[[bench]]
Expand All @@ -181,6 +188,7 @@ engines = [
"rust/sliceslice/memmem/prebuilt",
"rust/std/memmem/oneshot",
"rust/std/memmem/prebuilt",
"stringzilla/memmem/oneshot",
]

[[bench]]
Expand All @@ -204,4 +212,5 @@ engines = [
"rust/sliceslice/memmem/prebuilt",
"rust/std/memmem/oneshot",
"rust/std/memmem/prebuilt",
"stringzilla/memmem/oneshot",
]
9 changes: 9 additions & 0 deletions benchmarks/definitions/memmem/subtitles/common.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ engines = [
"rust/memchrold/memmem/prebuilt",
"rust/std/memmem/oneshot",
"rust/std/memmem/prebuilt",
"stringzilla/memmem/oneshot",
]

[[bench]]
Expand All @@ -40,6 +41,7 @@ engines = [
"rust/memchrold/memmem/prebuilt",
"rust/std/memmem/oneshot",
"rust/std/memmem/prebuilt",
"stringzilla/memmem/oneshot",
]

[[bench]]
Expand All @@ -62,6 +64,7 @@ engines = [
"rust/memchrold/memmem/prebuilt",
"rust/std/memmem/oneshot",
"rust/std/memmem/prebuilt",
"stringzilla/memmem/oneshot",
]

[[bench]]
Expand All @@ -84,6 +87,7 @@ engines = [
"rust/memchrold/memmem/prebuilt",
"rust/std/memmem/oneshot",
"rust/std/memmem/prebuilt",
"stringzilla/memmem/oneshot",
]

[[bench]]
Expand All @@ -106,6 +110,7 @@ engines = [
"rust/memchrold/memmem/prebuilt",
"rust/std/memmem/oneshot",
"rust/std/memmem/prebuilt",
"stringzilla/memmem/oneshot",
]

[[bench]]
Expand All @@ -128,6 +133,7 @@ engines = [
"rust/memchrold/memmem/prebuilt",
"rust/std/memmem/oneshot",
"rust/std/memmem/prebuilt",
"stringzilla/memmem/oneshot",
]

[[bench]]
Expand All @@ -150,6 +156,7 @@ engines = [
"rust/memchrold/memmem/prebuilt",
"rust/std/memmem/oneshot",
"rust/std/memmem/prebuilt",
"stringzilla/memmem/oneshot",
]

[[bench]]
Expand All @@ -172,6 +179,7 @@ engines = [
"rust/memchrold/memmem/prebuilt",
"rust/std/memmem/oneshot",
"rust/std/memmem/prebuilt",
"stringzilla/memmem/oneshot",
]

[[bench]]
Expand All @@ -194,4 +202,5 @@ engines = [
"rust/memchrold/memmem/prebuilt",
"rust/std/memmem/oneshot",
"rust/std/memmem/prebuilt",
"stringzilla/memmem/oneshot",
]
12 changes: 12 additions & 0 deletions benchmarks/definitions/memmem/subtitles/never.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ engines = [
"rust/sliceslice/memmem/prebuilt",
"rust/std/memmem/oneshot",
"rust/std/memmem/prebuilt",
"stringzilla/memmem/oneshot",
]

[[bench]]
Expand All @@ -44,6 +45,7 @@ engines = [
"rust/sliceslice/memmem/prebuilt",
"rust/std/memmem/oneshot",
"rust/std/memmem/prebuilt",
"stringzilla/memmem/oneshot",
]

[[bench]]
Expand All @@ -68,6 +70,7 @@ engines = [
"rust/sliceslice/memmem/prebuilt",
"rust/std/memmem/oneshot",
"rust/std/memmem/prebuilt",
"stringzilla/memmem/oneshot",
]

[[bench]]
Expand All @@ -92,6 +95,7 @@ engines = [
"rust/sliceslice/memmem/prebuilt",
"rust/std/memmem/oneshot",
"rust/std/memmem/prebuilt",
"stringzilla/memmem/oneshot",
]

[[bench]]
Expand All @@ -116,6 +120,7 @@ engines = [
"rust/sliceslice/memmem/prebuilt",
"rust/std/memmem/oneshot",
"rust/std/memmem/prebuilt",
"stringzilla/memmem/oneshot",
]

[[bench]]
Expand All @@ -140,6 +145,7 @@ engines = [
"rust/sliceslice/memmem/prebuilt",
"rust/std/memmem/oneshot",
"rust/std/memmem/prebuilt",
"stringzilla/memmem/oneshot",
]

[[bench]]
Expand All @@ -164,6 +170,7 @@ engines = [
"rust/sliceslice/memmem/prebuilt",
"rust/std/memmem/oneshot",
"rust/std/memmem/prebuilt",
"stringzilla/memmem/oneshot",
]

[[bench]]
Expand All @@ -188,6 +195,7 @@ engines = [
"rust/sliceslice/memmem/prebuilt",
"rust/std/memmem/oneshot",
"rust/std/memmem/prebuilt",
"stringzilla/memmem/oneshot",
]

[[bench]]
Expand All @@ -211,6 +219,7 @@ engines = [
"rust/sliceslice/memmem/prebuilt",
"rust/std/memmem/oneshot",
"rust/std/memmem/prebuilt",
"stringzilla/memmem/oneshot",
]

[[bench]]
Expand All @@ -234,6 +243,7 @@ engines = [
"rust/sliceslice/memmem/prebuilt",
"rust/std/memmem/oneshot",
"rust/std/memmem/prebuilt",
"stringzilla/memmem/oneshot",
]

[[bench]]
Expand All @@ -258,6 +268,7 @@ engines = [
"rust/sliceslice/memmem/prebuilt",
"rust/std/memmem/oneshot",
"rust/std/memmem/prebuilt",
"stringzilla/memmem/oneshot",
]

[[bench]]
Expand All @@ -282,4 +293,5 @@ engines = [
"rust/sliceslice/memmem/prebuilt",
"rust/std/memmem/oneshot",
"rust/std/memmem/prebuilt",
"stringzilla/memmem/oneshot",
]
Loading

0 comments on commit e1c10c5

Please sign in to comment.