Skip to content

Commit

Permalink
Merge branch 'main' into 406-znplots-might-be-better-stored-in-the-dv…
Browse files Browse the repository at this point in the history
…c-cache
  • Loading branch information
PythonFZ authored Oct 18, 2022
2 parents eed5379 + de4510c commit 99eecd7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ multi_line_output = 3
relative_files = true
branch = true
# omit the tests themselves
omit = ["*/tests/*", "*/tmp/*"]
omit = ["*/tests/*", "*/tmp/*", "*/interface/*"]

[tool.coverage.report]
exclude_lines = [
Expand Down
7 changes: 7 additions & 0 deletions zntrack/interface/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ class Experiment:
class DVCInterface:
"""A Python Interface for DVC"""

@utils.deprecated(
reason=(
"The 'DVCInterface' is currently unmaintained and might be removed "
"in a future release. It might not be compatible with newer DVC versions"
),
version="0.4.3",
)
def __init__(self):
"""DVCInterface for getting experiments and loading data from
multiple experiments
Expand Down

3 comments on commit 99eecd7

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Report for Python 3.9

name min max mean stddev median iqr outliers ops rounds iterations
0 tests/benchmark/test_benchmark.py::test_NodeCollector_run_and_save 0.000218698 0.000543495 0.000239963 4.6426e-05 0.000223748 8.15e-06 9;15 4167.31 84 1
1 tests/benchmark/test_benchmark.py::test_InputOutput_load_lazy 0.000863992 0.000976091 0.000876329 8.54805e-06 0.000874042 8.3005e-06 108;19 1141.12 584 1
2 tests/benchmark/test_benchmark.py::test_InputOutput_load 0.000869092 0.00108689 0.000883294 1.38492e-05 0.000879592 1.165e-05 55;22 1132.13 567 1
3 tests/benchmark/test_benchmark.py::test_InputOutput_run_and_save 0.00132149 0.00337017 0.00144147 0.000133752 0.00141109 6.23985e-05 32;40 693.737 588 1
4 tests/benchmark/test_benchmark.py::test_NodeCollector_load 0.00152918 0.00165039 0.00154728 1.24242e-05 0.00154599 1.25005e-05 60;10 646.294 363 1
5 tests/benchmark/test_benchmark.py::test_NodeCollector_load_lazy 0.00153978 0.00170458 0.00156257 1.44844e-05 0.00155949 1.6474e-05 83;7 639.972 419 1
6 tests/benchmark/test_benchmark.py::test_InputOutput_write_graph 0.00586205 0.00666284 0.00602692 0.000143013 0.0059843 0.000118349 12;7 165.922 124 1
7 tests/benchmark/test_benchmark.py::test_NodeCollector_write_graph 1.16027 1.73794 1.28992 0.250674 1.18261 0.1501 1;1 0.775242 5 1

CML watermark

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Report for Python 3.8

name min max mean stddev median iqr outliers ops rounds iterations
0 tests/benchmark/test_benchmark.py::test_NodeCollector_run_and_save 0.000244102 0.000557405 0.000278666 5.9302e-05 0.000255353 3.765e-05 8;7 3588.52 80 1
1 tests/benchmark/test_benchmark.py::test_InputOutput_load 0.000952607 0.00108621 0.000970858 1.24254e-05 0.000966758 1.53e-05 101;12 1030.02 532 1
2 tests/benchmark/test_benchmark.py::test_InputOutput_load_lazy 0.000957508 0.00137641 0.000974998 2.35938e-05 0.000969507 1.63995e-05 24;15 1025.64 536 1
3 tests/benchmark/test_benchmark.py::test_InputOutput_run_and_save 0.00150801 0.0619631 0.00175297 0.00264165 0.00156106 8.9901e-05 4;59 570.46 534 1
4 tests/benchmark/test_benchmark.py::test_NodeCollector_load_lazy 0.00163571 0.00190391 0.00166285 2.41406e-05 0.00165846 1.66e-05 28;19 601.376 394 1
5 tests/benchmark/test_benchmark.py::test_NodeCollector_load 0.00163731 0.00191201 0.00166299 2.20118e-05 0.00165966 1.87e-05 20;10 601.327 398 1
6 tests/benchmark/test_benchmark.py::test_InputOutput_write_graph 0.00615625 0.00727196 0.00632503 0.000170519 0.0062654 0.000138201 10;8 158.102 102 1
7 tests/benchmark/test_benchmark.py::test_NodeCollector_write_graph 1.20583 1.25691 1.2318 0.0229359 1.23826 0.0416558 2;0 0.811821 5 1

CML watermark

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Report for Python 3.10

name min max mean stddev median iqr outliers ops rounds iterations
0 tests/benchmark/test_benchmark.py::test_NodeCollector_run_and_save 0.000232502 0.000663705 0.000308696 8.58734e-05 0.000277353 0.000102801 13;4 3239.43 94 1
1 tests/benchmark/test_benchmark.py::test_InputOutput_load_lazy 0.000845788 0.00108231 0.000862776 2.0714e-05 0.00085751 1.32173e-05 34;26 1159.05 787 1
2 tests/benchmark/test_benchmark.py::test_InputOutput_load 0.000853408 0.00106691 0.000870777 1.66444e-05 0.000867008 1.41248e-05 61;20 1148.4 737 1
3 tests/benchmark/test_benchmark.py::test_InputOutput_run_and_save 0.00141492 0.00784569 0.00153869 0.000402755 0.00147932 0.000123277 11;15 649.903 735 1
4 tests/benchmark/test_benchmark.py::test_NodeCollector_load_lazy 0.00143471 0.00159351 0.00145605 1.77499e-05 0.00145191 1.7576e-05 41;13 686.788 511 1
5 tests/benchmark/test_benchmark.py::test_NodeCollector_load 0.00144001 0.00157981 0.00146244 1.27641e-05 0.00145961 1.57503e-05 112;8 683.787 563 1
6 tests/benchmark/test_benchmark.py::test_InputOutput_write_graph 0.00277013 0.0082258 0.00300348 0.000701027 0.00285573 9.49017e-05 9;19 332.947 241 1
7 tests/benchmark/test_benchmark.py::test_NodeCollector_write_graph 1.26644 1.33189 1.3015 0.026338 1.31057 0.040784 2;0 0.768343 5 1

CML watermark

Please sign in to comment.