-
Notifications
You must be signed in to change notification settings - Fork 12
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
Performance improvements #22
Comments
@byorgey I have some work done already. There is an extensive commit with performance numbers there already. The reason why I didn't submit it is because while writing the commit message, I realised that part of the changes I made were a lie and didn't improve performance (much). Notably I
While I haven't managed to improve performance by any worthwhile factor after initial processing, the data in the test I'm using does point out to an interesting thing: my test is something as follows:
The heap graph starts off with |
Fuuzetsu@4ad81f1 ; sadly as I mention, seems OutlineMap elimination didn't work as I had hoped but I don't have time to revert those changes right now. Really, perf data in that commit is the most worthwhile thing. It makes me think the program I'm using to benchmark is too lazy and perhaps I should try and find the way to make diagrams in better way but perhaps I'm wrong all together. EDIT: Although the diagram build-up only happens at start and later stays at constant way so perhaps it's the svg text builder itself that's leaking and that could be improved. |
Hmm, with |
Do you think it'd be feasible for someone who never directly used or looked into |
I've actually been working on a rewrite of diagrams and spent quite a lot time trying to optimise path operations. Hopefully those changes will help with some of the performance issues, although I'm not sure how and when it will get merged (if at all). It's not finished yet but if you want to take a look see You could also try using the bounding box of the string as the |
If you do try |
It seems that the performance of
SVGFonts
could still be improved quite a bit. I'm opening this ticket as a placeholder. See #16 for some earlier discussion of performance.The text was updated successfully, but these errors were encountered: