Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add @time to all tests #637

Merged
merged 6 commits into from
Dec 20, 2019
Merged

Add @time to all tests #637

merged 6 commits into from
Dec 20, 2019

Conversation

lrennels
Copy link
Collaborator

@lrennels lrennels commented Dec 8, 2019

@lrennels
Copy link
Collaborator Author

lrennels commented Dec 8, 2019

First set of results is below, longest tests are:

Top 5:

doctests: 149.162100 seconds (183.01 M allocations: 11.147 GiB, 1.87% gc time)
mcs testing suite: 93.521659 seconds (261.85 M allocations: 12.236 GiB, 4.11% gc time)
explorer for mcs sim: 37.076790 seconds (84.18 M allocations: 4.131 GiB, 6.05% gc time)
timestep arrays: 10.284494 seconds (19.46 M allocations: 1003.698 MiB, 3.17% gc time)
main: 8.350183 seconds (21.74 M allocations: 1.063 GiB, 3.96% gc time)

[ Info: test_main.jl
  8.350183 seconds (21.74 M allocations: 1.063 GiB, 3.96% gc time)
[ Info: test_composite.jl
  4.736990 seconds (8.52 M allocations: 431.225 MiB, 3.40% gc time)
[ Info: test_main_variabletimestep.jl
  0.540124 seconds (985.67 k allocations: 49.993 MiB, 2.75% gc time)
[ Info: test_broadcast.jl
  1.326507 seconds (2.86 M allocations: 145.070 MiB, 4.12% gc time)
[ Info: test_metainfo.jl
  0.187864 seconds (75.50 k allocations: 4.004 MiB)
[ Info: test_metainfo_variabletimestep.jl
  0.050164 seconds (39.64 k allocations: 2.028 MiB)
[ Info: test_references.jl
  0.537054 seconds (827.66 k allocations: 42.670 MiB, 2.75% gc time)
[ Info: test_units.jl
  0.192826 seconds (225.15 k allocations: 11.563 MiB)
[ Info: test_model_structure.jl
  1.911934 seconds (2.87 M allocations: 149.927 MiB, 3.00% gc time)
[ Info: test_model_structure_variabletimestep.jl
2.798543 seconds (6.50 M allocations: 308.927 MiB, 3.43% gc time)
[ Info: test_replace_comp.jl
  1.420576 seconds (2.96 M allocations: 151.846 MiB, 2.72% gc time)
[ Info: test_tools.jl
  0.164744 seconds (415.04 k allocations: 21.078 MiB)
[ Info: test_parameter_labels.jl
  5.340689 seconds (12.78 M allocations: 686.265 MiB, 4.64% gc time)
[ Info: test_parametertypes.jl
  3.130602 seconds (5.52 M allocations: 278.623 MiB, 2.49% gc time)
[ Info: test_marginal_models.jl
  0.605614 seconds (1.02 M allocations: 53.998 MiB, 2.52% gc time)
[ Info: test_adder.jl
  0.248396 seconds (430.36 k allocations: 22.345 MiB)
[ Info: test_getindex.jl
  0.343429 seconds (636.14 k allocations: 32.913 MiB, 4.50% gc time)
[ Info: test_getindex_variabletimestep.jl
  0.369485 seconds (635.73 k allocations: 33.147 MiB, 4.44% gc time)
[ Info: test_components.jl
1.234534 seconds (1.76 M allocations: 91.410 MiB, 1.28% gc time)
[ Info: test_variables_model_instance.jl
  0.404101 seconds (417.78 k allocations: 21.557 MiB, 5.65% gc time)
[ Info: test_getdataframe.jl
  3.469971 seconds (7.12 M allocations: 359.890 MiB, 3.12% gc time)
[ Info: test_mult_getdataframe.jl
  0.572643 seconds (1.34 M allocations: 98.395 MiB, 2.53% gc time)
[ Info: test_clock.jl
  0.047709 seconds (32.58 k allocations: 1.809 MiB)
[ Info: test_timesteps.jl
  1.520965 seconds (2.49 M allocations: 129.249 MiB, 3.16% gc time)
[ Info: test_timesteparrays.jl
10.284494 seconds (19.46 M allocations: 1003.698 MiB, 3.17% gc time)
[ Info: test_dimensions
  0.789771 seconds (1.36 M allocations: 71.861 MiB)
[ Info: test_datum_storage.jl
  1.681353 seconds (2.80 M allocations: 148.024 MiB, 4.64% gc time)
[ Info: test_connectorcomp.jl
  2.282516 seconds (4.51 M allocations: 240.990 MiB, 8.86% gc time)
[ Info: test_explorer_model.jl
12.240524 seconds (21.63 M allocations: 1.051 GiB, 3.60% gc time)
[ Info: test_explorer_sim.jl
 37.076790 seconds (84.18 M allocations: 4.131 GiB, 6.05% gc time)
[ Info: test_plotting.jl
  5.832712 seconds (10.54 M allocations: 533.267 MiB, 4.10% gc time)
[ Info: mcs/runtests.jl
[ Info: test_empirical.jl
[ Info: test_defmcs.jl
[ Info: test_defmcs_sobol.jl
 93.521659 seconds (261.85 M allocations: 12.236 GiB, 4.11% gc time)
[ Info: doctests
149.162100 seconds (183.01 M allocations: 11.147 GiB, 1.87% gc time)

@codecov
Copy link

codecov bot commented Dec 18, 2019

Codecov Report

Merging #637 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #637   +/-   ##
=======================================
  Coverage   80.12%   80.12%           
=======================================
  Files          39       39           
  Lines        2732     2732           
=======================================
  Hits         2189     2189           
  Misses        543      543

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ceea74b...03d333f. Read the comment docs.

@lrennels lrennels requested a review from corakingdon December 18, 2019 23:41
@lrennels lrennels marked this pull request as ready for review December 18, 2019 23:41
@corakingdon corakingdon merged commit 88fc0c9 into master Dec 20, 2019
@corakingdon corakingdon deleted the timetests branch December 20, 2019 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants