Skip to content

How to improve performance of the app? #318

Answered by vladmandic
nicoeiris11 asked this question in Q&A
Discussion options

You must be logged in to vote

re: browser & workers - for high resolutions, using workers is expensive as frame data needs to be copied from gpu to cpu to be transferred. but for lower resultions, that impact is tiny, so yes, using workers is good. how many? browser only has one gl execution context, so using many workers doesnt help, but you do want main thread plus two workers so one is always busy (using just one worker does not saturate the pipeline). and yes, each worker should use humangl backend.

re: node & threads: - ideally you want to have same number of threads as cpu cores to fully saturate your cpu. monitor your cpu load.

re: performance - honestly, no idea what to expect from mac mini m1

re: resolution: …

Replies: 19 comments 33 replies

Comment options

You must be logged in to vote
1 reply
@nicoeiris11
Comment options

Comment options

You must be logged in to vote
1 reply
@nicoeiris11
Comment options

Comment options

You must be logged in to vote
1 reply
@nicoeiris11
Comment options

Comment options

You must be logged in to vote
7 replies
@nicoeiris11
Comment options

@vladmandic
Comment options

@nicoeiris11
Comment options

@vladmandic
Comment options

@nicoeiris11
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
8 replies
@vladmandic
Comment options

@nicoeiris11
Comment options

@vladmandic
Comment options

@nicoeiris11
Comment options

@vladmandic
Comment options

Comment options

You must be logged in to vote
1 reply
@nicoeiris11
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@nicoeiris11
Comment options

@nicoeiris11
Comment options

@nicoeiris11
Comment options

@vladmandic
Comment options

Comment options

You must be logged in to vote
1 reply
@nicoeiris11
Comment options

Comment options

You must be logged in to vote
1 reply
@nicoeiris11
Comment options

Comment options

You must be logged in to vote
1 reply
@nicoeiris11
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@nicoeiris11
Comment options

Comment options

You must be logged in to vote
1 reply
@nicoeiris11
Comment options

Answer selected by nicoeiris11
Comment options

You must be logged in to vote
1 reply
@vladmandic
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@nicoeiris11
Comment options

@vladmandic
Comment options

@nicoeiris11
Comment options

@vladmandic
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants