Add/update filtered-sum-bms benchmark

This commit is contained in:
2026-06-06 18:00:20 +00:00
parent 2944683db9
commit 260d5fa4a5
8045 changed files with 2651026 additions and 270206 deletions

View File

@@ -0,0 +1,9 @@
import { AbortSignal } from "./AbortSignal";
export class AbortController {
constructor() {
this.signal = new AbortSignal();
}
abort() {
this.signal.abort();
}
}

View File

@@ -0,0 +1,20 @@
export class AbortSignal {
constructor() {
this.onabort = null;
this._aborted = false;
Object.defineProperty(this, "_aborted", {
value: false,
writable: true,
});
}
get aborted() {
return this._aborted;
}
abort() {
this._aborted = true;
if (this.onabort) {
this.onabort(this);
this.onabort = null;
}
}
}

View File

@@ -0,0 +1,2 @@
export * from "./AbortController";
export * from "./AbortSignal";