pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/WebKit/JetStream/pull/224/files

f="https://github.githubassets.com/assets/primer-primitives-6da842159062d25e.css" /> Push up the inner loop counts for the doxbee tests. by kmiller68 · Pull Request #224 · WebKit/JetStream · GitHub
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions JetStreamDriver.js
Original file line number Diff line number Diff line change
Expand Up @@ -2109,14 +2109,18 @@ let BENCHMARKS = [
files: [
"./simple/doxbee-promise.js",
],
tags: ["default", "js", "promise", "Simple"],
iterations: 80,
worstCaseCount: 3,
tags: ["default", "js", "promise", "Simple", "Doxbee"],
}),
new AsyncBenchmark({
name: "doxbee-async",
files: [
"./simple/doxbee-async.js",
],
tags: ["default", "js", "Simple"],
iterations: 80,
worstCaseCount: 3,
tags: ["default", "js", "async", "Simple", "Doxbee"],
}),
// SeaMonster
new DefaultBenchmark({
Expand Down
5 changes: 3 additions & 2 deletions simple/doxbee-async.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,10 @@ const doxbee = require("../lib/doxbee-async");

globalThis.Benchmark = class {
runIteration() {
const promises = new Array(10_000);
const innerIterations = 25_000;
const promises = new Array(innerIterations);

for (var i = 0; i < 10_000; i++)
for (var i = 0; i < innerIterations; i++)
promises[i] = doxbee(i, "foo");

return Promise.all(promises);
Expand Down
5 changes: 3 additions & 2 deletions simple/doxbee-promise.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,10 @@ const doxbee = require("../lib/doxbee-promises");

globalThis.Benchmark = class {
runIteration() {
const promises = new Array(10_000);
const innerIterations = 20_000;
const promises = new Array(innerIterations);

for (var i = 0; i < 10_000; i++)
for (var i = 0; i < innerIterations; i++)
promises[i] = doxbee(i, "foo");

return Promise.all(promises);
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy