armgilles / vcub_keeper

Analyse de l'activité des stations Vcub dans la métropole de Bordeaux afin de détecter en amont les stations hors service
https://vcubwatcher.herokuapp.com/
MIT License
2 stars 0 forks source link

Dev polars #158

Closed armgilles closed 3 weeks ago

armgilles commented 3 weeks ago

WIP

codecov[bot] commented 3 weeks ago

Codecov Report

Attention: Patch coverage is 80.62016% with 25 lines in your changes missing coverage. Please review.

Project coverage is 70.03%. Comparing base (d4839e7) to head (25bc431).

Files with missing lines Patch % Lines
src/vcub_keeper/create/creator.py 60.00% 14 Missing :warning:
src/vcub_keeper/reader/reader.py 62.96% 10 Missing :warning:
src/vcub_keeper/ml/cluster.py 80.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #158 +/- ## =========================================== + Coverage 43.10% 70.03% +26.92% =========================================== Files 10 10 Lines 457 317 -140 =========================================== + Hits 197 222 +25 + Misses 260 95 -165 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codspeed-hq[bot] commented 3 weeks ago

CodSpeed Performance Report

Merging #158 will improve performances by ×3.1

Comparing dev_polars (25bc431) with master (d4839e7)

Summary

⚡ 6 improvements

🆕 7 new benchmarks

Benchmarks breakdown

Benchmark master dev_polars Change
test_benchmark_get_consecutive_no_transactions_out 19.5 ms 1.9 ms ×10
🆕 test_benchmark_get_consecutive_no_transactions_out_big N/A 61.8 ms N/A
test_benchmark_get_transaction_all 7.2 ms 1.5 ms ×4.7
🆕 test_benchmark_get_transaction_all_big N/A 46.9 ms N/A
test_benchmark_get_transaction_in 8.4 ms 1.7 ms ×5.1
🆕 test_benchmark_get_transaction_in_big N/A 47.1 ms N/A
test_benchmark_get_transaction_out 8.2 ms 1.8 ms ×4.6
🆕 test_benchmark_get_transaction_out_big N/A 51 ms N/A
test_benchmark_process_data_cluster 12.9 ms 4.2 ms ×3.1
🆕 test_benchmark_process_data_cluster_big N/A 255.9 ms N/A
🆕 test_benchmark_pipepline_transform N/A 180.4 ms N/A
🆕 test_benchmark_pipepline_transform_big N/A 2 s N/A
test_benchmark_transf_json_to_df 158.9 ms 26.3 ms ×6