Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restructure benchmarks and scenarios
- Loading branch information
Showing
13 changed files
with
349 additions
and
182 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
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
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
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 @@ | ||
module.exports = [ | ||
require('./immer'), | ||
require('./immutable'), | ||
require('./immutable-assign'), | ||
require('./lodash'), | ||
require('./seamless-immutable'), | ||
require('./tiny-immutable-set'), | ||
]; |
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,16 @@ | ||
const options = { | ||
/* How many times each scenario is run for each library */ | ||
numIterations: 10000, | ||
/* Whether to console.log while libraries and scenarios are running */ | ||
showLogs: true, | ||
/* Whether to console.warn if a library hasn't implemented a scenario */ | ||
showWarnings: true, | ||
|
||
// To check against order-of-execution issues, we can run libraries-for-each-scenario, scenarios-for-each-library, | ||
// or both. This is mostly to validate the benchmark runner itself. (Running both will double the number of | ||
// iterations, and it won't give you any more information since execution order doesn't matter.) | ||
loopLibrariesThenScenarios: true, | ||
loopScenariosThenLibraries: true, | ||
}; | ||
|
||
module.exports = options; |
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.