a test uses a benchmark that read alice.html, dfsg excluded
authorJérémy Lal <kapouer@melix.org>
Sat, 8 Aug 2020 12:09:43 +0000 (13:09 +0100)
committerJérémy Lal <kapouer@melix.org>
Sat, 8 Aug 2020 12:09:43 +0000 (13:09 +0100)
Forwarded: not-needed
Reviewed-By: Xavier Guimard <yadd@debian.org>
Last-Update: 2020-03-04

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 2c7e732b07f0a5ad84d3d801e0b3bb0139716153..4638dd3bce4cd123e23805e3b06171f8592fc24e 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 5bf5988d16a64c43d2d74be1da3b83cca320e11c..30de004047a51c6235537fc9258c9014c4950857 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 929c4c655e12955ad3eb391cb837aefb10124386..ab285bec50612cbad5d2c222a45e754ef066e9f2 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],