question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[FEATURE] capture branch/commit metadata in perf results file

See original GitHub issue

Is your feature request related to a problem? Please describe. Currently our current.perf and baseline.perf contain only performance results. Hence having such files does not allow you to tell on which code version were these results gathered. Having that info would tag our measurements with code version.

Describe the solution you’d like

  • First line of .perf file could contain { metadata: { branch: 'branchname', hash: 'commitHash' }} as first line in the file that would not contain regular performance measurement entries but only metadata related to the measurements.
  • Since do not to want to directly integrate reassure measure which creates these files with any version control system, these could be passed as runtime flags, eg. reassure measure --branch branchname --hash commitHash.
  • User would pass this data from his reassure-tests.sh script, on CI and perhaps locally

Describe alternatives you’ve considered None

Additional context None

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
mdjastrzebskicommented, Oct 3, 2022

@ShaswatPrabhat thanks for contributing this feature. Would you fancy going a step further and doing #207?

1reaction
ShaswatPrabhatcommented, Oct 2, 2022

Please find the PR

Read more comments on GitHub >

github_iconTop Results From Across the Web

Chapter 21. Recording and analyzing performance profiles ...
The perf record command samples performance data and stores it in a file, perf.data , which can be read and visualized with other...
Read more >
Model — sagemaker 2.126.0 documentation
Session]) – A function to call to create a predictor (default: None). If not None, deploy will return the result of invoking this...
Read more >
MLOps: ML model management v1 - Azure Machine Learning
Register, package, and deploy models from anywhere. You can also track associated metadata required to use the model. Capture the governance ...
Read more >
Tutorial - Perf Wiki
Introduction. Perf is a profiler tool for Linux 2.6+ based systems that abstracts away CPU hardware differences in Linux performance ...
Read more >
Yocto Project Reference Manual
Automatic Stale Sysroot File Cleanup; 5.8.9. linux-yocto Kernel Metadata ... image features during the build process using the OpenEmbedded build system.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found