chore: update .gitignore and local changes

- Add .mcp.json to .gitignore
- Update database and test configurations
- Add quick publish script

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
czlonkowski
2025-09-14 11:03:47 +02:00
parent 6b4bb7ff66
commit 696f461cab
6 changed files with 96 additions and 7 deletions

View File

@@ -48,8 +48,15 @@ if (!testConfig.logging.debug) {
// Set up performance monitoring if enabled
if (testConfig.performance) {
// Use a high-resolution timer that maintains timing precision
let startTime = process.hrtime.bigint();
global.performance = global.performance || {
now: () => Date.now(),
now: () => {
// Convert nanoseconds to milliseconds with high precision
const currentTime = process.hrtime.bigint();
return Number(currentTime - startTime) / 1000000; // Convert nanoseconds to milliseconds
},
mark: vi.fn(),
measure: vi.fn(),
getEntriesByName: vi.fn(() => []),