Replies: 2 comments 3 replies
-
Actually, one of the improvements would be to do the IO conversions in a separate worker thread. Current, the conversion from STL to source code happens within the generation thread, and therefore the source cannot be viewed in the editor. This conversation should be completed first, and results given to the editor as well as the generation thread. Not sure about the conversion from geometry to STL (blob) but this might allow two things to happen
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was wondering how many workers can a browser use, and when the number of users stops being beneficial
This test will calculate 22048M mod 97777
Benchmark Group #5 average: 517 ms, 16 Workers [8%]
Benchmark Group #4 average: 907 ms, 8 Workers [14%]
Benchmark Group #3 average: 1754 ms, 4 Workers [26%]
Benchmark Group #2 average: 3413 ms, 2 Workers [51%]
Benchmark Group #1 average: 6644 ms, 1 Worker [Standart Test, 100%]
http://pmav.eu/stuff/javascript-webworkers/
My laptop is a beastly gaming machine, so it actually got better all the way up to 16 threads (it has 16 logical cores)
bragging aside, this means web workers can be actually used for doing stuff faster, if the problem can be split to benefit from multi threading
I have no concrete idea how to use it yet, but I think it is a nice thing to be aware of.
Beta Was this translation helpful? Give feedback.
All reactions