miloyip / nativejson-benchmark

C/C++ JSON parser/generator benchmark
MIT License
1.98k stars 261 forks source link

Visual Studio build broken #126

Open ZwergNaseXXL opened 4 years ago

ZwergNaseXXL commented 4 years ago

Just tried to get this to build for two hours, still no luck. Used various VS tooling configs between 2015 and 2019. Always getting hundreds of warnings and errors, don't even know where to start. It's probably some mysterious #define somewhere.

Docu is also lacking. Says "just start the thing generated by premake5", but there are two solutions, jsonstat and benchmark. Which is what? Which one should I care about?

I'd be happy to help out with fixes here, but I need some hints.

mloskot commented 4 years ago

Likely, this is duplicate of #102 and #123

IOW, if those issues are not fixed, this issue will not be fixed either.

ZwergNaseXXL commented 4 years ago

Yeah, I was aware of those issues but didn't get to try it at that time. Now I finally got around to try once more and succeeded, in a limited way.

My intention was to pitch our in-house JSON lib against the three other ones I know, namely Jansson, nlohmann and RapidJSON. Limiting myself to these three libs made it fairly easy:

Now we just need someone to eliminate the need for make & php in order to transform those results to HTML... :) Until then, looking at the .md files in your favorite editor (there are rendering plugins for Notepad++ and VS) and importing & formatting the .csv files in Excel will do.