-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
1 parent
6810484
commit 4ddfcac
Showing
121 changed files
with
606,388 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...etafacture/metafix/integration/script/fromJson/toJson/includeBenchmarkBase1/expected.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"} |
1 change: 1 addition & 0 deletions
1
...g/metafacture/metafix/integration/script/fromJson/toJson/includeBenchmarkBase1/input.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
27 changes: 27 additions & 0 deletions
27
...org/metafacture/metafix/integration/script/fromJson/toJson/includeBenchmarkBase1/test.fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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") |
8 changes: 8 additions & 0 deletions
8
...rg/metafacture/metafix/integration/script/fromJson/toJson/includeBenchmarkBase1/test.flux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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") | ||
; |
1,000 changes: 1,000 additions & 0 deletions
1,000
...facture/metafix/integration/script/fromJson/toJson/includeBenchmarkBase1000/expected.json
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.