facioquo / stock-indicators-python

Stock Indicators for Python. Maintained by @LeeDongGeon1996
https://python.StockIndicators.dev
Apache License 2.0
221 stars 37 forks source link

feat: Improve performance of converting to C# List #207

Closed LeeDongGeon1996 closed 2 years ago

LeeDongGeon1996 commented 2 years ago

Description

Benchmarks


# Before
------------------------------------------------------ benchmark: 1 tests ------------------------------------------------------
Name (time in ms)                      Min       Max      Mean   StdDev    Median      IQR  Outliers     OPS  Rounds  Iterations
--------------------------------------------------------------------------------------------------------------------------------
test_benchmark_hurst_longlong     330.1131  426.2715  351.0660  42.0999  332.5940  27.9184       1;1  2.8485       5           1
--------------------------------------------------------------------------------------------------------------------------------

# After
------------------------------------------------------ benchmark: 1 tests ------------------------------------------------------
Name (time in ms)                      Min       Max      Mean   StdDev    Median      IQR  Outliers     OPS  Rounds  Iterations
--------------------------------------------------------------------------------------------------------------------------------
test_benchmark_hurst_longlong     280.6001  379.0518  300.7573  43.7718  281.3770  25.6203       1;1  3.3249       5           1
--------------------------------------------------------------------------------------------------------------------------------

References

Checklist