Skip to content

Commit

Permalink
benchmark: Correct constructor for freelist
Browse files Browse the repository at this point in the history
Updates to use current constructor for freelist, which was changed
under pr #12644

Ref: #12644
PR-URL: #14627
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Gibson Fahnestock <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
  • Loading branch information
gareth-ellis authored and addaleax committed Aug 12, 2017
1 parent 977e228 commit 139b088
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmark/misc/freelist.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var bench = common.createBenchmark(main, {
});

function main(conf) {
const FreeList = require('internal/freelist').FreeList;
const FreeList = require('internal/freelist');
var n = conf.n;
var poolSize = 1000;
var list = new FreeList('test', poolSize, Object);
Expand Down

0 comments on commit 139b088

Please sign in to comment.