* Main execution function
()
| 469 | * Main execution function |
| 470 | */ |
| 471 | async 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 | |
| 490 | main(); |
no test coverage detected