actuarialopensource / actuarialopensource/benchmarks

Presentation of output

オープン
#27 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
16
フォーク
4
PR マージ指標
30日以内にマージされた PR はありません

説明

I think the first table like this facilitates comparison more so than the latte:

```
Times are in nanoseconds:
┌──────────┬──────────────────┬───────────────────┬─────────┬─────────────┬───────────────┐
│ Language │ Package │ Function │ Median │ Mean │ Relative Mean │
├──────────┼──────────────────┼───────────────────┼─────────┼─────────────┼───────────────┤
│ Python │ numpy_financial │ irr │ missing │ 5339167688 │ 332824x │
│ Python │ better │ irr_binary_search │ missing │ 6167798 │ 384x │
│ Python │ better │ irr_newton │ missing │ 945813 │ 59x │
│ Julia │ ActuaryUtilities │ irr │ 16000 │ 16042 │ 1x │
└──────────┴──────────────────┴───────────────────┴─────────┴─────────────┴───────────────┘
```

vs
```
basic_term_benchmark:
- Julia CacheFlow basic_term:
mean: TrialEstimate(192.127 ms)
result: 1.4489630534602132e7
- Python jax basic_term_m:
mean: 337.39129650000166 milliseconds
result: 14489630.53460337
Python lifelib basic_term_m:
mean: 1182.7541804499986 milliseconds
result: 14489630.534601536
Python scratch basic_term_m:
mean: 957.6274868500008 milliseconds
result: 14489630.534603368
```

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。