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

Add benchmarks for node operations #5

Open
Xuanwo opened this issue Apr 23, 2022 · 0 comments
Open

Add benchmarks for node operations #5

Xuanwo opened this issue Apr 23, 2022 · 0 comments

Comments

@Xuanwo
Copy link
Owner

Xuanwo commented Apr 23, 2022

Although the performance is not the top thing for serde-env, we need to know how slow we are.

Slow as xx ms is acceptable, but slow as xx s is not allowed.

For the worst case:

:) true | xargs --show-limits
Your environment variables take up 5378 bytes
POSIX upper limit on argument length (this system): 2089726
POSIX smallest allowable upper limit on argument length (all systems): 4096
Maximum length of command we could actually use: 2084348
Size of command buffer we are actually using: 131072
Maximum parallelism (--max-procs must be no greater): 2147483647

We need to make sure serde-env works in that case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant