Optimize BitmapEncoder class
Maintainers usually reply within 4 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Refactor
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- java
- Domain
- performance
Research direction
Start by profiling BitmapEncoder.saveBitmap(List), getBufferedImage, and saveBitMap(toStream) with a graph containing 50k points. Compare where time is spent across these methods and establish repeatable save-time measurements. Done means the costly paths are measurably faster without changing the bitmap output.
Written by the indexing model from the issue text.
Description
Is there a way to optimize the methods of the BitmapEncoder class? They are extremely costly; a graph with 50k points takes over 2 seconds to save when calling saveBitmap(List). getBufferedImage and saveBitMap( toStream ) are even more costly.
- Dominant language
- Java
- Stars
- 1.6k
- Forks
- 400
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 7
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from knowm/XChart
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 4 days
-
Difficulty 3/5 1-2 days Newbie friendliness 57/100
Maintainers usually reply within 4 days
-
Difficulty 3/5 1-2 days Newbie friendliness 67/100
Maintainers usually reply within 4 days
-
Cleanup: generate axis ticks in-range instead of pruning after the fact (follow-up to #634)Possibly taken @Sinkleberg claimed this 20 days ago. Open
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Maintainers usually reply within 4 days
-
`CategoryChart.addSeries` could support additional call signature for interoperability with ScalaPossibly taken @Sinkleberg claimed this 20 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 45/100
Maintainers usually reply within 4 days
Similar issues
-
documentation good first issue help wanted
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 2 days
-
bug key bindings
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
Android Bug Core Drape
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
organicmaps/organicmaps#14449 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
openhab/openhab-addons#22512 ·
Maintainers usually reply within 1 day