23 Mar 2022 [research]

mjxmr publishes tsqsim benchmark results

mjxmr1 has published the benchmark results2 for his Time Series Quick Simulator (tsqsim)3 tool:

In order to limit the strain on this quarter’s budget, I resorted to testing against only the following frameworks: statsmodels4, darts5

The simulator was written for the Monero Research Lab6 in order to predict the number of near future transactions.

Below are the results of the benchmark against the (almost) equivallent native C++ implementation of the AutoRegressive (AR) model with lags of 2.

Results

Benchmarked 'py_statsmodels.py' Time taken = 10.922s Ratio Pred2Base     = 0.705 [===       ] (the lower the better) 
Benchmarked 'py_darts.py'   Time taken = 14.307s Ratio Pred2Base     = 0.711 [===       ] 
Benchmarked 'Native C++'    Time taken = 0.144s  Ratio Pred2Base     = 0.68  [===       ]

Benchmark images and steps to reproduce the experiment are included in the Reddit thread2.

According to fellow researcher Rucknium7, the results show an almost two orders of magnitude speedup8.

To learn more about mjxmr’s work, consult my previous report9. You can support his continued work on Monero by donating to his CCS proposal10.


  1. https://github.com/mj-xmr 

  2. https://libredd.it/tl5w1b/  2

  3. https://github.com/mj-xmr/tsqsim 

  4. https://www.statsmodels.org/ 

  5. https://github.com/unit8co/darts 

  6. https://github.com/monero-project/research-lab 

  7. https://github.com/rucknium 

  8. https://libredd.it/r/Monero/comments/tl5w1b/tsqsims_benchmark_new_tool_designed_for_monero/i1u372t/?context=3 

  9. /mjxmr-replacement-ccs-proposal-q2-2022/ 

  10. /mjxmr-ccs-proposal-q2-2022-ready-funding/