Result in a speed up of the unittest from 60s to 4s Because it cost time to load Pymarketcap() every time we create a CryptoToFiatConverter, it worth it to change it into a Singleton. |
||
|---|---|---|
| .. | ||
| test_rpc_telegram.py | ||
| test_rpc.py | ||
Result in a speed up of the unittest from 60s to 4s Because it cost time to load Pymarketcap() every time we create a CryptoToFiatConverter, it worth it to change it into a Singleton. |
||
|---|---|---|
| .. | ||
| test_rpc_telegram.py | ||
| test_rpc.py | ||