Skip to content

Commit

Permalink
Add more jaeger spans in Python setup
Browse files Browse the repository at this point in the history
  • Loading branch information
hoodmane committed Nov 6, 2024
1 parent 3b9fc88 commit 6a27b4e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pyodide/internal/python.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ async function prepareWasmLinearMemory(Module: Module): Promise<void> {
mountSitePackages(Module, SITE_PACKAGES.rootInfo);
entropyMountFiles(Module);
Module.noInitialRun = !SHOULD_RESTORE_SNAPSHOT;
preloadDynamicLibs(Module);
Module.removeRunDependency('dynlibs');
enterJaegerSpan('preloadDynamicLibs', () => preloadDynamicLibs(Module));
enterJaegerSpan('removeRunDependency', () => Module.removeRunDependency('dynlibs'));
if (SHOULD_RESTORE_SNAPSHOT) {
restoreSnapshot(Module);
enterJaegerSpan("restoreSnapshot", () => restoreSnapshot(Module));
// Invalidate caches if we have a snapshot because the contents of site-packages
// may have changed.
simpleRunPython(
Expand Down

0 comments on commit 6a27b4e

Please sign in to comment.