summaryrefslogtreecommitdiffstats
path: root/js/src/devtools/gc-ubench/benchmarks/noAllocation.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/devtools/gc-ubench/benchmarks/noAllocation.js')
-rw-r--r--js/src/devtools/gc-ubench/benchmarks/noAllocation.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/js/src/devtools/gc-ubench/benchmarks/noAllocation.js b/js/src/devtools/gc-ubench/benchmarks/noAllocation.js
new file mode 100644
index 000000000..5e01c309b
--- /dev/null
+++ b/js/src/devtools/gc-ubench/benchmarks/noAllocation.js
@@ -0,0 +1,6 @@
+window.tests.set('noAllocation', {
+ description: "Do not generate any garbage.",
+ load: (N) => {},
+ unload: () => {},
+ makeGarbage: (N) => {}
+});