Skip to content

Commit 4ddfcac

Browse files
committed
Add "integration tests" to benchmark include() performance. (#287)
- 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
1 parent 6810484 commit 4ddfcac

File tree

121 files changed

+606388
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

121 files changed

+606388
-0
lines changed

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ editorconfig {
1414
'**/.*',
1515
'**/bin',
1616
'**/generated',
17+
'**/includeBenchmark*100000/expected.json',
1718
'**/node_modules',
1819
'**/out',
1920
'**/output-*',
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
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 numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
add_field("a", "1")
2+
add_field("b", "2")
3+
add_field("c", "3")
4+
add_field("d", "4")
5+
add_field("e", "5")
6+
add_field("f", "6")
7+
8+
copy_field("a", "g")
9+
copy_field("b", "h")
10+
copy_field("c", "i")
11+
copy_field("d", "j")
12+
copy_field("e", "k")
13+
copy_field("f", "l")
14+
15+
move_field("g", "m")
16+
move_field("h", "n")
17+
move_field("i", "o")
18+
move_field("j", "p")
19+
move_field("k", "q")
20+
move_field("l", "r")
21+
22+
copy_field("m", "s")
23+
copy_field("n", "t")
24+
copy_field("o", "u")
25+
copy_field("p", "v")
26+
copy_field("q", "w")
27+
copy_field("r", "x")
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
FLUX_DIR + "input.json"
2+
|open-file
3+
|as-lines
4+
|decode-json
5+
|fix(FLUX_DIR + "test.fix")
6+
|encode-json
7+
|write(FLUX_DIR + "output-metafix.json")
8+
;

metafix/src/test/resources/org/metafacture/metafix/integration/script/fromJson/toJson/includeBenchmarkBase1000/expected.json

Lines changed: 1000 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)