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

Function main

benchmarks/auth.js:471–488  ·  view source on GitHub ↗

* Main execution function

()

Source from the content-addressed store, hash-verified

469 * Main execution function
470 */
471async function main () {
472 console.log("🔥 Authentication Performance Benchmarks");
473
474 try {
475 benchmarkBasicAuth();
476 benchmarkBearerAuth();
477 benchmarkJwtAuth();
478 benchmarkRouteProtection();
479 benchmarkAuthDelay();
480 benchmarkSessionAuth();
481 testAuthMemoryUsage();
482
483 console.log("\n✅ Authentication benchmarks completed\n");
484 } catch (error) {
485 console.error("❌ Benchmark failed:", error);
486 process.exit(1);
487 }
488}
489
490main();

Callers 1

auth.jsFile · 0.70

Calls 8

benchmarkBasicAuthFunction · 0.85
benchmarkBearerAuthFunction · 0.85
benchmarkJwtAuthFunction · 0.85
benchmarkRouteProtectionFunction · 0.85
benchmarkAuthDelayFunction · 0.85
benchmarkSessionAuthFunction · 0.85
testAuthMemoryUsageFunction · 0.85
logMethod · 0.80

Tested by

no test coverage detected