Comments (9)
I came to tune after hitting this limitation of snakeviz -- thanks for filing that issue btw!
When loading a large-ish .prof file (2.9MiB), the browser tab crashes (out of memory?). I think the "Broken Pipe" is a consequence of the tab crashing, not the cause of it. FWIW, I tried it both with a recent Brave and Firefox. Same thing in both browsers.
A smaller .prof file (1MiB) loads OK, although it seems to bog down the browser quite a bit.
Tuna: version 0.5.11
Brave: Version 1.39.122 Chromium: 102.0.5005.115 (Official Build)
Python 3.8.12
from tuna.
Same here :( My .prof
file is 1.9M, not sure if this could be caused by too much data
from tuna.
No idea.
from tuna.
I have a fat project in django what take long time to start ... i generate the profile and tuna cannot open...
http://transfer.sh/1DKbkv6/cprofile.out
I generate the HTML files and the output was 2GB of HTML the unique tool it could open is cprofilev
from tuna.
Hi. FYI, i got the same error as @anklebreaker running on wsl2 Windows11
from tuna.
I'm getting a similar error while using tuna 0.5.9 + python3.8 + Chrome 93.0.4577.63 + Ubuntu 18.04:
~$tuna out.cprofile
Starting httpd on port 8000
127.0.0.1 - - [22/Oct/2021 11:40:29] "GET / HTTP/1.1" 200 -
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 53870)
Traceback (most recent call last):
File "/usr/lib/python3.8/socketserver.py", line 316, in _handle_request_noblock
self.process_request(request, client_address)
File "/usr/lib/python3.8/socketserver.py", line 347, in process_request
self.finish_request(request, client_address)
File "/usr/lib/python3.8/socketserver.py", line 360, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python3.8/socketserver.py", line 747, in __init__
self.handle()
File "/usr/lib/python3.8/http/server.py", line 427, in handle
self.handle_one_request()
File "/usr/lib/python3.8/http/server.py", line 415, in handle_one_request
method()
File "/home/apeplowski/envs/py38_tf2_env/lib/python3.8/site-packages/tuna/main.py", line 53, in do_GET
self.wfile.write(render(data, prof_filename).encode())
File "/usr/lib/python3.8/socketserver.py", line 826, in write
self._sock.sendall(b)
BrokenPipeError: [Errno 32] Broken pipe
----------------------------------------
127.0.0.1 - - [22/Oct/2021 11:42:03] "GET /static/tuna.css HTTP/1.1" 200 -
127.0.0.1 - - [22/Oct/2021 11:42:03] "GET /static/bootstrap.min.css HTTP/1.1" 200 -
127.0.0.1 - - [22/Oct/2021 11:42:03] "GET /static/favicon256.png HTTP/1.1" 200 -
from tuna.
Same error on my side. 2.9 MB for the file. Seems maybe too complicated to handle using a request?
from tuna.
Unfortunately unusable with my sample on 2.3 MiB of traces with the same symptom -- browser tab crashing and breaking the connection. It is able to render another sample with 700 KiB of data though.
Tuna: 0.5.11
Python: 3.10.6
OS: macOS 13.6.1
from tuna.
Related Issues (20)
- How to properly close tuna HOT 1
- pytest integration HOT 1
- Crash when the favicon does not exists HOT 3
- Dependency Dashboard
- assert mimetype is not None
- Add disclaimer: Tuna cannot deal with captured output of every type of terminal HOT 3
- Run failed on Mac OS Monterey M1 Chip HOT 1
- Tuna badly struggles on large files HOT 1
- Tuna relies on sklearn that is deprecated HOT 2
- Jupyter notebook shows blank HOT 2
- Missing apple-touch-icon-precomposed.png and apple-touch-icon.png
- Question: Using Window Title for foobar2000, any way I can send playback time and song duration to Tuna? HOT 2
- Exception occurred when running tuna program.prof HOT 11
- favicon.ico missing error HOT 2
- Visualization in Tuna HOT 1
- tuna 0.4.5 ipython magic fails to load with "The tuna module is not an IPython extension" HOT 3
- total execution time is wrong (handling of imports) HOT 5
- crash when parsing profile HOT 2
- IPython magics broken in tuna >=5.0 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tuna.