Page MenuHomeSoftware Heritage

Simulation: log at infol level recorded metrics
ClosedPublic

Authored by douardda on Jan 22 2021, 10:51 AM.

Details

Summary

this allows to follows what the simulation is doing.

Diff Detail

Repository
rDSCH Scheduling utilities
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build is green

Patch application report for D4922 (id=17507)

Could not rebase; Attempt merge onto 03460207a1...

Updating 0346020..6ef3d21
Fast-forward
 swh/scheduler/cli/simulator.py      | 20 +++++++++---
 swh/scheduler/simulator/__init__.py | 61 ++++++++++++++++++++++---------------
 swh/scheduler/simulator/common.py   | 34 +++++++++++----------
 3 files changed, 70 insertions(+), 45 deletions(-)
Changes applied before test
commit 6ef3d2177ca00e5f42885eaf6a37ecd0c94df7ac
Author: David Douard <david.douard@sdfa3.org>
Date:   Fri Jan 22 10:47:18 2021 +0100

    Simulation: log at infol level recorded metrics
    
    this allows to follows what the simulation is doing.

commit 6698e51903bfdfcc00cfc55be3056c25c8cb270f
Author: David Douard <david.douard@sdfa3.org>
Date:   Fri Jan 22 09:07:22 2021 +0100

    Make plotting histograms optional in simulator cli command

commit 1c069ca34add6b26d060588abb7958a089cb0735
Author: David Douard <david.douard@sdfa3.org>
Date:   Thu Jan 21 11:33:19 2021 +0100

    Randomize last_upadte in generated ListedOrigins in fill_test_data
    
    also insert objects by batches of 10k to make it nicer with ram usage.

commit 8a9aaf3942d5585e6af038ebced3cde6faf27c7e
Author: David Douard <david.douard@sdfa3.org>
Date:   Thu Jan 21 11:30:21 2021 +0100

    Add a --num-origins option to the fill-test-data cli command

See https://jenkins.softwareheritage.org/job/DSCH/job/tests-on-diff/247/ for more details.

vlorentz added a subscriber: vlorentz.
vlorentz added inline comments.
swh/scheduler/simulator/__init__.py
39
This revision now requires changes to proceed.Jan 22 2021, 11:11 AM
douardda edited the summary of this revision. (Show Details)

type + vorentz' comment

Build is green

Patch application report for D4922 (id=17511)

Rebasing onto 03460207a1...

Current branch diff-target is up to date.
Changes applied before test
commit be0847aff4509a7dd61ccd169eb55f5910721c2d
Author: David Douard <david.douard@sdfa3.org>
Date:   Fri Jan 22 10:47:18 2021 +0100

    Simulation: log at info level recorded metrics
    
    this allows to follows what the simulation is doing.

See https://jenkins.softwareheritage.org/job/DSCH/job/tests-on-diff/249/ for more details.

Build is green

Patch application report for D4922 (id=17512)

Rebasing onto 03460207a1...

Current branch diff-target is up to date.
Changes applied before test
commit 09922622a55740698ea93c1deae2c6bac4019a96
Author: David Douard <david.douard@sdfa3.org>
Date:   Fri Jan 22 10:47:18 2021 +0100

    Simulation: log at info level recorded metrics
    
    this allows to follows what the simulation is doing.

See https://jenkins.softwareheritage.org/job/DSCH/job/tests-on-diff/250/ for more details.

This revision is now accepted and ready to land.Jan 22 2021, 12:38 PM
This revision was landed with ongoing or failed builds.Jan 22 2021, 2:10 PM
This revision was automatically updated to reflect the committed changes.

Build is green

Patch application report for D4922 (id=17529)

Rebasing onto b93aa5be2c...

Current branch diff-target is up to date.
Changes applied before test
commit abb513ca7d09afb228ed9da7316994ede8429573
Author: David Douard <david.douard@sdfa3.org>
Date:   Fri Jan 22 10:47:18 2021 +0100

    Simulation: log at info level recorded metrics
    
    this allows to follows what the simulation is doing.

See https://jenkins.softwareheritage.org/job/DSCH/job/tests-on-diff/265/ for more details.