diff --git a/benchmark/buffers/buffer-indexof-number.js b/benchmark/buffers/buffer-indexof-number.js index b00a4652..3c4e4221 100644 --- a/benchmark/buffers/buffer-indexof-number.js +++ b/benchmark/buffers/buffer-indexof-number.js @@ -10,7 +10,7 @@ const bench = common.createBenchmark(main, { function main({ n, value }) { const aliceBuffer = fs.readFileSync( - path.resolve(__dirname, '../fixtures/alice.html') + path.resolve(__dirname, '../../doc/api/all.html') ); let count = 0; diff --git a/benchmark/buffers/buffer-indexof.js b/benchmark/buffers/buffer-indexof.js index 4c0993a1..c08f9311 100644 --- a/benchmark/buffers/buffer-indexof.js +++ b/benchmark/buffers/buffer-indexof.js @@ -26,7 +26,7 @@ const bench = common.createBenchmark(main, { function main({ n, search, encoding, type }) { let aliceBuffer = fs.readFileSync( - path.resolve(__dirname, '../fixtures/alice.html') + path.resolve(__dirname, '../../doc/api/all.html') ); if (encoding === 'undefined') { diff --git a/benchmark/http2/compat.js b/benchmark/http2/compat.js index 2c7e732b..4638dd3b 100644 --- a/benchmark/http2/compat.js +++ b/benchmark/http2/compat.js @@ -3,7 +3,7 @@ const common = require('../common.js'); const path = require('path'); const fs = require('fs'); -const file = path.join(path.resolve(__dirname, '../fixtures'), 'alice.html'); +const file = path.join(path.resolve(__dirname, '../../doc/api'), 'all.html'); const bench = common.createBenchmark(main, { requests: [100, 1000, 5000], diff --git a/benchmark/http2/respond-with-fd.js b/benchmark/http2/respond-with-fd.js index 5bf5988d..30de0040 100644 --- a/benchmark/http2/respond-with-fd.js +++ b/benchmark/http2/respond-with-fd.js @@ -4,7 +4,7 @@ const common = require('../common.js'); const path = require('path'); const fs = require('fs'); -const file = path.join(path.resolve(__dirname, '../fixtures'), 'alice.html'); +const file = path.join(path.resolve(__dirname, '../../doc/api'), 'all.html'); const bench = common.createBenchmark(main, { requests: [100, 1000, 5000], diff --git a/benchmark/http2/simple.js b/benchmark/http2/simple.js index 929c4c65..ab285bec 100644 --- a/benchmark/http2/simple.js +++ b/benchmark/http2/simple.js @@ -3,7 +3,7 @@ const common = require('../common.js'); const path = require('path'); const fs = require('fs'); -const file = path.join(path.resolve(__dirname, '../fixtures'), 'alice.html'); +const file = path.join(path.resolve(__dirname, '../../doc/api'), 'all.html'); const bench = common.createBenchmark(main, { requests: [100, 1000, 5000],