From fc926fcf7c192118917cef420f6b0b04f3d738c6 Mon Sep 17 00:00:00 2001 From: Gareth Ellis Date: Fri, 4 Aug 2017 13:35:13 +0200 Subject: [PATCH] benchmark: Correct constructor for freelist Updates to use current constructor for freelist, which was changed under pr #12644 --- benchmark/misc/freelist.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark/misc/freelist.js b/benchmark/misc/freelist.js index f30b814e7ea983..8c4aeb05ef0472 100644 --- a/benchmark/misc/freelist.js +++ b/benchmark/misc/freelist.js @@ -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);