You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So my thought was that most of libraries are using encoding/json underneath - so if I can generate efficient MarshalJSON and UnmarshalJSON implementations for my structs I can get boost up in the performance
Sadly in mine test the results were different and I would like to know why
Hey - I've tried to benchmark your library in terms of its cooperation with encoding/json
tl;dr;
Using easy json generated struct for Marshal (with encoding/json) is much worse than using the same struct without easy json generated code.
So my thought was that most of libraries are using encoding/json underneath - so if I can generate efficient
MarshalJSON
andUnmarshalJSON
implementations for my structs I can get boost up in the performanceSadly in mine test the results were different and I would like to know why
Structs used in test:
The test:
The text was updated successfully, but these errors were encountered: