a test uses a benchmark that read alice.html, dfsg excluded
authorJérémy Lal <kapouer@melix.org>
Wed, 14 May 2025 21:43:31 +0000 (23:43 +0200)
committerJérémy Lal <kapouer@melix.org>
Wed, 14 May 2025 21:43:31 +0000 (23:43 +0200)
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 5d0ecb91d91d67f847c653f2c4d79cf19d010923..cb6c3ab40662ba7eeeba0269689ed59065e79a4d 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 52cc95ccb9cf7e81c92a6e809e873458ce3ddc47..8cc1cc859ef71e713b0d77264a5d956d026d2c93 100644 (file)
@@ -31,7 +31,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 d37bb20c5cddc1a5d3e6f0fe255c233360051c30..5c81179e09b6a5395d236b6b51d7497b632eb714 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 c365c7cea136b5b224db9d8d2a4898cfb4241676..aa40dc35dde7532c14c3b58778e501b8a382628c 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 5ee780ab98c7ec6dec541066fbdcbe7e9f7464d7..fc445a3b6735229ab68897e4a8308abe1811ecac 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],