remove dynamic equality

This commit is contained in:
2025-06-16 13:48:09 -05:00
parent 9c0565d34f
commit 794baf8598
70 changed files with 462 additions and 461 deletions

View File

@@ -13,7 +13,7 @@
//
// Parse command line arguments
if (arg.length !== 2) {
if (arg.length != 2) {
log.console('Usage: cell benchmark_wota_nota_json.ce <LibraryName> <ScenarioName>');
$_.stop()
}
@@ -139,7 +139,7 @@ function runBenchmarkForLibrary(lib, bench) {
let e = lib.encode(bench.data[j]);
// store only in the very first iteration, so we can decode them later
// but do not store them every iteration or we blow up memory.
if (i === 0) {
if (i == 0) {
encodedList.push(e);
totalSize += lib.getSize(e);
}
@@ -166,8 +166,8 @@ function runBenchmarkForLibrary(lib, bench) {
////////////////////////////////////////////////////////////////////////////////
// Find the requested library and scenario
var lib = libraries.find(l => l.name === lib_name);
var bench = benchmarks.find(b => b.name === scenario_name);
var lib = libraries.find(l => l.name == lib_name);
var bench = benchmarks.find(b => b.name == scenario_name);
if (!lib) {
log.console('Unknown library:', lib_name);