Skip to content

Commit 3d50af9

Browse files
authored
[ php-wasm ] Disable profiling data file generation at runtime (#2998)
## Motivation for the change, related issues Related to #2993 Because of the Emscripten upgrade from `4.0.5` to `4.0.19`, a new file appeared when running the virtual filesystem. Mostly invisible until I mounted a directory. This pull request disables the profiling data generated file. ## Implementation details - Add a `root/replace` in `base-image` Dockerfile. - Add a test in `filesystems.spec.ts` ## Testing Instructions (or ideally a Blueprint) CI or ```javascript import { PHP } from '@php-wasm/universal'; import { loadNodeRuntime } from "@php-wasm/node"; const php = new PHP(await loadNodeRuntime('8.4')); console.log(php.listFiles('/')); ``` ```diff [ 'tmp', 'home', 'dev', 'proc', 'request', 'internal', - 'default.profraw' ] ```
1 parent 9fc58f7 commit 3d50af9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+243
-559
lines changed

packages/php-wasm/compile/base-image/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
-9.72 KB
Binary file not shown.
-10 KB
Binary file not shown.
-10 KB
Binary file not shown.
-10 KB
Binary file not shown.
-10.1 KB
Binary file not shown.
-10 KB
Binary file not shown.
-10.1 KB
Binary file not shown.
-10.2 KB
Binary file not shown.
-10.1 KB
Binary file not shown.

0 commit comments

Comments
 (0)