-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
I thought it would be fun to track performance.
This was the decoupling branch as of a while ago:
dispatch 0 args
2.50691318512
dispatch 1 args
4.27959012985
dispatch 2 args
6.44276189804
dispatch 3 args
7.31519389153
dispatch 4 args
8.34504699707
Plain func 0 args
0.161817789078
Plain func 4 args
0.481851100922
Here's some older benchmark of the arg extraction code (where @taschini already took out argextract, but not yet completely):
dispatch 0 args
1.25924301147
dispatch 1 args
2.03821897507
dispatch 2 args
3.58315300941
dispatch 3 args
4.08871388435
dispatch 4 args
4.67021179199
Plain func 0 args
0.159023046494
Plain func 4 args
0.48424077034
As of today, it's:
dispatch 0 args
1.30515289307
dispatch 1 args
1.78144598007
dispatch 2 args
3.02587485313
dispatch 3 args
3.37043809891
dispatch 4 args
3.69515585899
Plain func 0 args
0.163196086884
Plain func 4 args
0.484107017517
So we currently we're less than 10 times slower than plain Python.
Metadata
Metadata
Assignees
Labels
No labels