Skip to content

Instantly share code, notes, and snippets.

@jacktator
Created June 1, 2019 23:59
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jacktator/98931f3c1e02e886d0b710bececd9f2f to your computer and use it in GitHub Desktop.
This talbe displays the performance results
Object NamedTuple DataClass
create 2.94 µs 2.01 µs 2.34 µs
read property 24.7 ns 26.9 ns 24.7 ns
nested property 48.1 ns 75.8 ns 52.1 ns
execute function 829 ns 946 ns 821 ns
size 56 bytes 80 bytes 56 bytes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment