MCPcopy Create free account
hub / github.com/avoidwork/tenso / main

Function main

benchmarks/parsers.js:243–258  ·  view source on GitHub ↗

* Main execution function

()

Source from the content-addressed store, hash-verified

241 * Main execution function
242 */
243async function main () {
244 console.log("🔥 Parser Performance Benchmarks");
245
246 try {
247 benchmarkJsonParser();
248 benchmarkJsonlParser();
249 benchmarkFormParser();
250 benchmarkParserComparison();
251 testParserMemoryUsage();
252
253 console.log("\n✅ Parser benchmarks completed\n");
254 } catch (error) {
255 console.error("❌ Benchmark failed:", error);
256 process.exit(1);
257 }
258}
259
260main();

Callers 1

parsers.jsFile · 0.70

Calls 6

benchmarkJsonParserFunction · 0.85
benchmarkJsonlParserFunction · 0.85
benchmarkFormParserFunction · 0.85
testParserMemoryUsageFunction · 0.85
logMethod · 0.80

Tested by

no test coverage detected