1
1
mirror of https://github.com/tweag/nickel.git synced 2024-09-11 11:47:03 +03:00

Merge pull request #562 from tweag/avi/disable-count-letters-bench

Disable record benchmarks
This commit is contained in:
Avi Dessauer 2022-01-11 09:34:26 -05:00 committed by GitHub
commit 275d7f6605
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -81,9 +81,9 @@ harness = false
name = "lists"
harness = false
[[bench]]
name = "records"
harness = false
# [[bench]]
# name = "records"
# harness = false
[[bench]]
name = "serialization"

View File

@ -4,7 +4,7 @@
let l = lists.generate (fun _n => "a") n in
lists.foldl (fun x y => x ++ y) "" l in
let makeRecStep = fun state k =>
let name = state.prevName ++ (strings.fromNum k) in
let name = state.prevName ++ (strings.from_num k) in
{
value = state.value & {"#{name}" = {}},
prevName = name,