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

what allocation mode does the sajson benchmark use? #1

Closed
chadaustin opened this issue Aug 11, 2017 · 1 comment
Closed

what allocation mode does the sajson benchmark use? #1

chadaustin opened this issue Aug 11, 2017 · 1 comment

Comments

@chadaustin
Copy link

Cool! Thanks for running these benchmarks. Always interesting.

Out of curiosity, is the benchmark using the single allocation memory allocation mode or the dynamic allocation mode? The latter trades a bit of CPU performance for much lower peak memory usage when parsing.

@wojdyr
Copy link
Member

wojdyr commented Aug 11, 2017

Whatever nativejson-benchmark is using.
Looking at it, it's dynamic allocation
https://github.com/miloyip/nativejson-benchmark/blob/master/src/tests/sajsontest.cpp#L80

@wojdyr wojdyr closed this as completed Aug 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants