a test uses a benchmark that read alice.html, dfsg excluded
authorJérémy Lal <kapouer@melix.org>
Thu, 1 Sep 2022 16:33:49 +0000 (17:33 +0100)
committerJérémy Lal <kapouer@melix.org>
Thu, 1 Sep 2022 16:33:49 +0000 (17:33 +0100)
Forwarded: not-needed
Reviewed-By: Xavier Guimard <yadd@debian.org>
Last-Update: 2020-03-04

Gbp-Pq: Topic dfsg
Gbp-Pq: Name benchmark_without_alice.patch

benchmark/buffers/buffer-indexof-number.js
benchmark/buffers/buffer-indexof.js
benchmark/http2/compat.js
benchmark/http2/respond-with-fd.js
benchmark/http2/simple.js

index b00a46524fa3dea88c1e9c88ac93cd2536cb6da4..3c4e42215fabfa0ef7bf00f6d9cfc2b911b78ce1 100644 (file)
@@ -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;
index 4c0993a1ef0ef9c2a69ebd213c05ac45f1731e7b..c08f9311436058fe41448b4b96d2162f1b729ccf 100644 (file)
@@ -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') {
index 9ca7ab1ba08ef78ba912fde2c3f5421f1bd8768a..8abbc3943e13d36a6d8c07d8694d3a6bfc303f2e 100644 (file)
@@ -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],
index 547b6900b61f48251ec5a460d44c4d896bc4b8db..d87856f8e63ffd95a4f78e399afc0c3011c20d27 100644 (file)
@@ -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],
index d9ac513d3c3e68b266d1195a25a06c47e53a66e3..842bc020860a9080f4f31169b95f31141e9c5626 100644 (file)
@@ -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],