MCPcopy
hub / github.com/webpack/webpack / addBaseline

Function addBaseline

test/BenchmarkTestCases.benchmark.mjs:215–231  ·  test/BenchmarkTestCases.benchmark.mjs::addBaseline

* @returns {void}

()

Source from the content-addressed store, hash-verified

213 * @returns {void}
214 */
215 function addBaseline() {
216 baselines.push({
217 name: baselineInfo.name,
218 rev: baselineRevision,
219 webpack: async () => {
220 const webpack = (
221 await import(
222 pathToFileURL(
223 path.resolve(baselinePath, class="st">"./lib/index.js")
224 ).toString()
225 )
226 ).default;
227
228 return webpack;
229 }
230 });
231 }
232
233 const baselineRevision = baselineInfo.rev;
234

Calls 3

resolveMethod · 0.65
pushMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected