Skip to content
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

Multithreaded rendering #8

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

nicklockwood
Copy link
Owner

This PR demonstrates how to split the rendering load across multiple threads.

The renderer automatically selects the number of threads according the the processor count of the device, which should be at least 2 on any modern iPhone, so I was expecting a ~2X performance boost, but in practice the improvement seems pretty small.

@nicklockwood nicklockwood changed the title Added multithreaded rendering Multithreaded rendering Aug 9, 2019
@nicklockwood nicklockwood force-pushed the experiments/multithreaded-renderer branch from 52483e6 to 584692f Compare August 9, 2019 22:58
@nicklockwood nicklockwood force-pushed the master branch 6 times, most recently from 339f881 to 2f210a3 Compare August 18, 2019 09:18
@nicklockwood nicklockwood force-pushed the experiments/multithreaded-renderer branch from 584692f to ef0563f Compare August 18, 2019 19:05
@nicklockwood nicklockwood force-pushed the master branch 2 times, most recently from e8b773c to ed70253 Compare August 19, 2019 18:18
@nicklockwood nicklockwood force-pushed the experiments/multithreaded-renderer branch from ef0563f to 5e5735b Compare August 19, 2019 18:20
@nicklockwood nicklockwood force-pushed the experiments/multithreaded-renderer branch from 5e5735b to 96eabef Compare September 8, 2019 13:30
@nicklockwood nicklockwood force-pushed the master branch 2 times, most recently from 6849de0 to 93486f3 Compare September 27, 2019 20:49
@nicklockwood nicklockwood force-pushed the experiments/multithreaded-renderer branch from 96eabef to 55e1596 Compare September 29, 2019 11:46
@nicklockwood nicklockwood force-pushed the master branch 13 times, most recently from 958efeb to d02d5fd Compare October 6, 2019 19:34
@nicklockwood nicklockwood force-pushed the experiments/multithreaded-renderer branch from 8e8a7ba to eb88e36 Compare May 3, 2020 18:04
@nicklockwood nicklockwood force-pushed the master branch 8 times, most recently from cdbfe12 to 935de1b Compare May 25, 2020 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant