/**
* Logs the duration of a performance measurement between two marks.
*
* @param name - The name of the measurement.
* @param start - The name of the starting performance mark.
* @param end - The name of the ending performance mark.
*/
export function logMeasure(name: string, start: string, end: string) {
performance.mark(end)
const m = performance.measure(name, start, end)
console.debug(`⏲️ ${m.name}: ${m.duration | 0}ms`)
}
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/microsoft/genaiscript'
If you have feedback or need assistance with the MCP directory API, please join our Discord server