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

modernize library benchmarks #29

Open
tayloraswift opened this issue Aug 6, 2022 · 0 comments
Open

modernize library benchmarks #29

tayloraswift opened this issue Aug 6, 2022 · 0 comments
Assignees

Comments

@tayloraswift
Copy link
Owner

tayloraswift commented Aug 6, 2022

we need to modernize swift-png’s benchmarks. this will involve:

  1. moving the benchmarks into a nested SPM project, with a separate Package.swift manifest. this frees up the benchmarks to adopt additional dependencies, and is the model @karwa ’s swift-url uses, and has already been adopted by swift-json.

  2. updating the benchmarking code to use modern stdlib features, like ContinuousClock.

  3. configuring benchmarks to run as part of the project’s CI pipeline, the way swift-json currently does it.

  4. integrate the library’s performance reporting system into the CI pipeline, and automate this process. (right now it is a completely manual pre-submit procedure!)

  5. add standards to the CI pipeline, so that major performance regressions will fail the status checks.

  6. backport items # 4 and # 5 to swift-json so that it can also benefit from these improvements.

  7. copy this setup to swift-jpeg, so it can also benefit from this infrastructure, as part of investigate and improve decoding speed in release builds jpeg#3 .

@tayloraswift tayloraswift self-assigned this Aug 6, 2022
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