INNER CODE UNIT · JavaScript

erase

m4heshd/better-sqlite3-multiple-ciphers · benchmark/index.js:45

const erase = () => {
	return clc.move(0, -1) + clc.erase.line;
};

// Determine which trials should be executed.
process.chdir(__dirname);
const trials = getTrials(process.argv.slice(2)).sort(sortTrials);
if (!trials.length) {
	console.log(clc.yellow('No matching benchmarks found!'));
	process.exit();
}

// Create the temporary database needed to run the benchmark trials.
console.log('Generating tables...');
const tables = require('./seed')();
process.stdout.write(erase());

// Execute each trial for each available driver.

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…