-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
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
Investigate possible performance issues in VSCode #113
Comments
Firstly, great work so far on this package! I'd like to second this suggestion. I work in single-cell genomics where we often generate scatterplots with 500,000+ individual points. These don't display inside the httpgd window of vs-code (it remains greyed out), but it's occasionally possible to view one plot (max, and after extensive loading) in the 'External Browser' view. I wonder if there are vs-code memory limit parameters that impact this, as the quantity of data involved is modest relative to the RAM available (256 GB). Thanks. |
I'm not sure whether this is a vscode issue or not, because I'm hitting it even when opening the httpgd link in a web browser (using Fedora on WSL with R 4.1.3, no usage of vscode). I've got around (I think) 120,000 points and the graph literally takes 30 seconds to load in the viewer. The lag in navigating the interface is fairly large and working with multiple plots is difficult. Please let me know if I can help in any way in narrowing this problem down or helping out in working it out. Edit: All it took was installing |
Thank you for checking out httpgd! This does not have anything to do with Are you using the CRAN version of httpgd or the newest Github version? Some technical explanation to the performance problems: SVG plots with a high number of points need a styled I will most likely post news about the GPU renderer over at |
This is probably what it was: I've tried to recreate the issue on various different |
I noticed heatmap is very difficult for httpgd. |
I'm using httpgd inside of VS-Code together with the R extension. I can easily kill httpgd with
Which, admittedly, are a lot of points. I have some more complicated ggplots with fewer points that also fail. However, creating a reprex here wouldn't be that easy. However, if you think a reprex of those plots would be beneficial, I'll create one for you.
I usually save my plots using ggsave or using tikzdevice. So this does not rely on httpgd right? Saving is never a problem.
Originally posted by @BerriJ in #92 (comment)
The text was updated successfully, but these errors were encountered: