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

Improve performance by sending data as-is #10

Merged
merged 4 commits into from
Jun 13, 2021
Merged

Conversation

lambdalisue
Copy link
Owner

@lambdalisue lambdalisue commented Jun 13, 2021

Close #3

Note that this package supports Deno v1.10 or over from this commit.

https://deno.com/blog/v1.10#worker.postmessage-supports-structured-clone-algorithm

CleanShot 2021-06-13 at 22 49 44

See https://github.com/lambdalisue/deno-workerio/wiki/Benchmark for various benchmarks

@lambdalisue lambdalisue changed the title Use Uint8Array as-is to improve performance Improve performance by sending data as-is Jun 13, 2021
@lambdalisue lambdalisue force-pushed the improve-performance branch 3 times, most recently from 138fada to 8ff4cf3 Compare June 13, 2021 13:40
@lambdalisue lambdalisue force-pushed the improve-performance branch from 8ff4cf3 to 8e16d5c Compare June 13, 2021 13:41
@lambdalisue lambdalisue merged commit 512a724 into main Jun 13, 2021
@lambdalisue lambdalisue deleted the improve-performance branch June 13, 2021 13:42
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.

Send data "as-is" instead to optimize communication
1 participant