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

Query : Can I get benchmark's compilation and configurations steps #8

Open
mayadav1 opened this issue Jul 22, 2019 · 3 comments
Open

Comments

@mayadav1
Copy link

Can I get benchmark's compilation and configuration steps as I am unable to compile and configure. I want to only check BOND library performance.

@zapov
Copy link
Member

zapov commented Jul 23, 2019

Checking out the whole project and compiling it should work.
Please post the exact error if it does not.
The sln file is here: https://github.com/ngs-doo/json-benchmark/blob/master/Benchmark/JsonBenchmark.sln

@mayadav1
Copy link
Author

@zapov , Thanks for providing information. It is compiled and executed but have following some doubts.

  1. I have run using "JsonBenchmark.exe BondBinary Small Both 1000000" command but output has "invalid deserialization = 0" is it expected ?
  2. As want to check my built BOND library performance. Is it possible to link built library ? if then how do I link my built library.
    3)As I know BOND library after build has two libraries "bond.lib" and "bond_apply.lib" and "bf.exe" and "gbc.exe" executable.
  3. Is this benchmark checking performance of libraries ?
    Sorry for inconvenience but I am beginner . Please help me out .

@zapov
Copy link
Member

zapov commented Jul 23, 2019

  1. yes. a lot of libraries produce incorrect values, thus there is the check of "invalid deserialization"
  2. you link the relevant output dll from the C# solution. Solution is only interested into actual output, so no need to reference exes, just prepare the output for it to consume. If it's bond compatible you can just replace the current dll, otherwise you'll have to adjust the code to it.
  3. It does. There is also the GatherResults project which executes libraries in various modes and gathers/aggregates the results

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

No branches or pull requests

2 participants