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] Validate performance results files input to compare package

See original GitHub issue

Is your feature request related to a problem? Please describe.

Currently reading of performance file by compare package does not perform any validation, so the CLI could crash with cryptic errors if file is corrupted.

Describe the solution you’d like Use zod or other hight quality library to parse/validate contents of the results file. This will require defining schemas for header and entry rows and should be configured to work with TypeScript. In case of error the information about the incorrect line should be displayed.

Describe alternatives you’ve considered Write validation by hand, but that would be too not worth the tradeoff of additional deps

Additional context N/A

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
mdjastrzebskicommented, Oct 18, 2022

@ShaswatPrabhat I am back and will check your PR today. Thank you for both contribution and panience 🙂

Re other contributors: we also got @thymikee but he is usually even more busy than I am.

1reaction
mdjastrzebskicommented, Oct 7, 2022

@ShaswatPrabhat go ahead 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

[FEATURE] Validate performance results files input to compare ...
Currently reading of performance file by compare package does not perform any validation, so the CLI could crash with cryptic errors if file...
Read more >
What is Data Validation? How It Works and Why It's Important
You can compare data values and structure against your defined rules to verify that all the necessary information is within the required quality...
Read more >
A Comprehensive Guide on How to Monitor Your Models in ...
The most effective way to gauge the functional performance of your model in production is to monitor the prediction of the model and...
Read more >
Comparison of Two Data Sets using Python - Medium
Details : datacompy takes two dataframes as input and gives us a human-readable report containing statistics that lets us know the similarities ...
Read more >
Benchmarking in Golang: Improving function performance
Improve your Golang application's performance by running benchmarks with built-in tools like the testing package and the go tool.
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