konradhalas / dacite

Simple creation of data classes from dictionaries.
MIT License
1.72k stars 106 forks source link

Add performance testing #202

Closed mciszczon closed 1 year ago

mciszczon commented 1 year ago

This PR introduces a basic set of performance tests (achieved with pytest-benchmark), as well as a Github Actions integration to make it easier to work with the performance testing, as well as control any unwanted degradation of the performance.

Implemented changes

Suggested actions

Before accepting and merging this PR, it is recommended to:

  1. Create an empty gh-pages branch in konradhalas/dacite repo.
  2. A personal Github Token should be generated, and added to the repository Secrets with the GITHUB_TOKEN key. The token must have the following permissions:
    • Access to konradhalas/dacite repo.
    • Actions: Read and write access.
    • Pull requests: Read and write access.
    • Contents: Read and write access