Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance: reimplement bBlock and getBlock in C #37

Open
amosr opened this issue Dec 13, 2016 · 0 comments
Open

Performance: reimplement bBlock and getBlock in C #37

amosr opened this issue Dec 13, 2016 · 0 comments

Comments

@amosr
Copy link
Contributor

amosr commented Dec 13, 2016

The reading and writing accounts for 60% of runtime. Writing these in C should be much faster, and we wouldn't need to spend the extra 16% translating from Haskell to C.

                                                                                                           individual     inherited
COST CENTRE                                       MODULE                                 no.     entries  %time %alloc   %time %alloc

   bBlock                                         Zebra.Serial.Block                    1218          22    0.0    0.0    40.8   36.8
       getBlock                                   Zebra.Serial.Block                     912           0    0.0    0.0    22.4   33.9

     pokeBlock                                    Zebra.Foreign.Block                    988          53    3.0    0.8    16.3   14.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant