Skip to content

[RFC]: Add Validator and Parser in @stdlib/bench/ for benchmark description. #6625

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

Open
3 tasks done
Vinit-Pandit opened this issue Apr 9, 2025 · 1 comment
Open
3 tasks done

Comments

@Vinit-Pandit
Copy link
Contributor

Description

This RFC proposes adding Validator and Parser for the benchmark description ( EX : # @stdlib/blas/ddot::stacks:size=1000,ndims=2,shape=(2,500) ) in @stdlib/bench/*

Until now, we have been using this descriptive format unconsciously. However, since these descriptors are crucial for visualizing the benchmarks, we need to formalize this approach by including validation and a parser that converts the description into JSON.

Related Issues

Related issues #6

Questions

No.

Other

No.

Checklist

  • I have read and understood the Code of Conduct.
  • Searched for existing issues and pull requests.
  • The issue name begins with RFC:.
@Vinit-Pandit Vinit-Pandit changed the title [RFC]: Add Validator and Parser in bench/ for benchmark description. [RFC]: Add Validator and Parser in @stdlib/bench/ for benchmark description. Apr 9, 2025
@Vinit-Pandit
Copy link
Contributor Author

Few questions

  1. Do we need to validate the package name (e.g., @stdlib/blas/ddot)? If so, what should we use for validation? We can’t use the namespace since they’re only for pre-registered packages.

  2. Should this be implemented in@stdlib/bench/utils ?

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

No branches or pull requests

1 participant