MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / noteCompilation

Method noteCompilation

lib/stats.ts:161–164  ·  view source on GitHub ↗
(compilerId: string, request: ParsedRequest, files: FiledataPair[], buildMethod: string)

Source from the content-addressed store, hash-verified

159 }
160
161 noteCompilation(compilerId: string, request: ParsedRequest, files: FiledataPair[], buildMethod: string): void {
162 this._statsQueue.push(makeSafe(new Date(), compilerId, request, files, buildMethod));
163 if (!this._flushJob) this._flushJob = setTimeout(() => this.flush(), this._flushAfterMs);
164 }
165}
166
167export function createStatsNoter(props: PropertyGetter): IStatsNoter {

Callers

nothing calls this directly

Calls 3

flushMethod · 0.95
makeSafeFunction · 0.85
pushMethod · 0.80

Tested by

no test coverage detected