actuarialopensource / benchmarks

Some performance tests for actuarial applications
MIT License
14 stars 4 forks source link

Skip parsing of mortality tables for benchmarks #44

Closed serenity4 closed 11 months ago

serenity4 commented 1 year ago

Closes #12.

We are getting a -30% time reduction for the Julia implementation, with profiling revealing that now almost all the time is spent in npv performing arithmetic operations.

For Python, I didn't notice any difference, I guess that the bottleneck was not the parsing but rather all the intermediate numpy operations (didn't profile to check this though).