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:
commit
275d7f6605
@ -81,9 +81,9 @@ harness = false
|
||||
name = "lists"
|
||||
harness = false
|
||||
|
||||
[[bench]]
|
||||
name = "records"
|
||||
harness = false
|
||||
# [[bench]]
|
||||
# name = "records"
|
||||
# harness = false
|
||||
|
||||
[[bench]]
|
||||
name = "serialization"
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user