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
Dataclass Wizard version: 0.30.1 (code in this branch)
Python version: 3.13.0
Operating System: Mac OS
Description
I checked in updates to benchmarks in my other branch and added test cases for other libraries with the help of ChatGPT, since I'm kinda lazy and can't be bothered to do it.
Well, the results are kind of telling (below)
TLDR: Dataclass Wizard asdict is still faster than native dataclasses.asdict() -- which is expected, because I heavily adapted the code for serialization process from dataclasses module -- but it a lot slower than other libraries like e.g. pydantic.
I need to trim the fat and improve it, and I have an idea of how to do/achieve that. This issue is here to track that effort, and remind me of performance metrics (among others).
Description
I checked in updates to benchmarks in my other branch and added test cases for other libraries with the help of ChatGPT, since I'm kinda lazy and can't be bothered to do it.
Well, the results are kind of telling (below)
TLDR: Dataclass Wizard
asdict
is still faster than nativedataclasses.asdict()
-- which is expected, because I heavily adapted the code for serialization process fromdataclasses
module -- but it a lot slower than other libraries like e.g.pydantic
.I need to trim the fat and improve it, and I have an idea of how to do/achieve that. This issue is here to track that effort, and remind me of performance metrics (among others).
Results
The text was updated successfully, but these errors were encountered: