Skip to content

Commit

Permalink
Add "integration tests" to benchmark include() performance. (#287)
Browse files Browse the repository at this point in the history
- includeBenchmarkBase1:       3.2375 +/- 0.0193
- includeBenchmarkBase1000:    3.5835 +/- 0.1132
- includeBenchmarkBase100000:  5.4308 +/- 0.1477
- includeBenchmarkSome1:       3.6988 +/- 0.0185
- includeBenchmarkSome1000:    3.9415 +/- 0.2000
- includeBenchmarkSome100000:  7.8708 +/- 0.1882
- includeBenchmarkMany1:       5.1312 +/- 0.0764
- includeBenchmarkMany1000:    5.5572 +/- 0.2899
- includeBenchmarkMany100000: 17.6438 +/- 0.0740
  • Loading branch information
blackwinter committed Oct 16, 2023
1 parent 6810484 commit 4ddfcac
Show file tree
Hide file tree
Showing 121 changed files with 606,388 additions and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ editorconfig {
'**/.*',
'**/bin',
'**/generated',
'**/includeBenchmark*100000/expected.json',
'**/node_modules',
'**/out',
'**/output-*',
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"a":"1","b":"2","c":"3","d":"4","e":"5","f":"6","m":"1","n":"2","o":"3","p":"4","q":"5","r":"6","s":"1","t":"2","u":"3","v":"4","w":"5","x":"6"}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
add_field("a", "1")
add_field("b", "2")
add_field("c", "3")
add_field("d", "4")
add_field("e", "5")
add_field("f", "6")

copy_field("a", "g")
copy_field("b", "h")
copy_field("c", "i")
copy_field("d", "j")
copy_field("e", "k")
copy_field("f", "l")

move_field("g", "m")
move_field("h", "n")
move_field("i", "o")
move_field("j", "p")
move_field("k", "q")
move_field("l", "r")

copy_field("m", "s")
copy_field("n", "t")
copy_field("o", "u")
copy_field("p", "v")
copy_field("q", "w")
copy_field("r", "x")
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FLUX_DIR + "input.json"
|open-file
|as-lines
|decode-json
|fix(FLUX_DIR + "test.fix")
|encode-json
|write(FLUX_DIR + "output-metafix.json")
;

Large diffs are not rendered by default.

Loading

0 comments on commit 4ddfcac

Please sign in to comment.