Skip to content

Commit

Permalink
Fix benchRoundtrip benchmark
Browse files Browse the repository at this point in the history
Benchmarking the cost of roundtripping the demo database got broken by deleting the demo databse.  Oops...

Benchmark the cost of roundtripping core instead.
  • Loading branch information
cpcallen committed Jun 15, 2020
1 parent ee6f7af commit 7c8973f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/tests/serialize_bench.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ function runInterpreterBench(b, name, src) {
*/
exports.benchRoundtrip = function(b) {
let name = 'Roundtrip demo';
const demoDir = path.join(__dirname, '../../demo');
const demoDir = path.join(__dirname, '../../core');
const filenames = fs.readdirSync(demoDir);
filenames.sort();
let src = '';
Expand Down

0 comments on commit 7c8973f

Please sign in to comment.