Skip to content

Map rendering performance improvements - #1599

Merged
devemux86 merged 5 commits into
mapsforge:masterfrom
Sublimis:issue1598
Dec 30, 2024
Merged

devemux86 merged 5 commits into
mapsforge:masterfrom
Sublimis:issue1598

Conversation

@Sublimis

@Sublimis Sublimis commented Dec 27, 2024 •

Copy link
Copy Markdown
Contributor
  • Narrowed synchronizations in RenderTheme (Slow rendering with multi threading #1598 )
  • Synchronized RenderInstruction-s
  • Synchronization in Rule
  • StandardRenderer: Extract RenderCallback interface to a field
  • MapWorkerPool: Improved DEBUG_TIMING feature

private final AtomicInteger concurrentJobs = new AtomicInteger();
private final AtomicLong totalExecutions = new AtomicLong();
private final AtomicLong totalTime = new AtomicLong();
public static boolean DEBUG_TIMING = true;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Sublimis This should be false.

@Sublimis

Copy link
Copy Markdown
Contributor Author

@devemux86 AFAIC this code is ready for master if you agree

@devemux86 devemux86 added this to the 0.23.0 milestone Dec 30, 2024
@devemux86
devemux86 merged commit bfbbbbc into mapsforge:master Dec 30, 2024
@devemux86

Copy link
Copy Markdown
Collaborator

@Sublimis Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants