We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.1.42
Darwin 23.6.0 arm64 arm
Here is my code to generate heap stats in framework Elysia
.get("/memory", async () => { const memorySnapshot = generateHeapSnapshot(); const filePath = "./tmp/memory-snapshot.json"; await Bun.write(filePath, JSON.stringify(memorySnapshot, null, 2)); return new Response(Bun.file(filePath), { headers: { "Content-Disposition": "attachment; filename=memory-snapshot.json", "Content-Type": "application/octet-stream", }, }); })
Here is my JSON file: memory-snapshot (3).json
File should be viewed successfully on Safari Developer Tools like example in this link Bun Benchmarking
Import this file to Safari Developer Tools cause Timeline Recording Import Error: invalid JSON
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What version of Bun is running?
1.1.42
What platform is your computer?
Darwin 23.6.0 arm64 arm
What steps can reproduce the bug?
Here is my code to generate heap stats in framework Elysia
Here is my JSON file: memory-snapshot (3).json
What is the expected behavior?
File should be viewed successfully on Safari Developer Tools like example in this link Bun Benchmarking
What do you see instead?
Import this file to Safari Developer Tools cause Timeline Recording Import Error: invalid JSON
Additional information
No response
The text was updated successfully, but these errors were encountered: