Commit graph

6 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
4723ab4ce5
ci: Exclude specific components from Codspeed workflow paths (#4596)
Exclude specific components from Codspeed workflow paths
2024-11-14 11:28:21 +00:00
Gabriel Luiz Freitas Almeida
3d65de4c79
ci: Add concurrency control to Run benchmarks workflow (#4551)
Add concurrency control to GitHub Actions workflow to cancel in-progress runs
2024-11-12 13:03:20 -08:00
Gabriel Luiz Freitas Almeida
7114cc4799
ci: Add temporary database setup for performance tests (#4469)
Add temporary database setup for performance tests and assertions for database URL
2024-11-08 14:41:01 +00:00
Gabriel Luiz Freitas Almeida
e5969b2f18
ci: Update Codspeed workflow to exclude api_key_required tests and enable parallel execution (#4412)
fix: update codspeed workflow to exclude api_key_required tests and run in parallel
2024-11-06 12:52:29 +00:00
Gabriel Luiz Freitas Almeida
cd3a7472c2
tests: Add performance benchmarks for database initialization and app startup (#4367)
* feat: add benchmark markers to multiple test cases

* test: add performance tests for database initialization and app startup

Introduce benchmark tests to measure the performance of database initialization and application startup. This helps ensure efficiency and identify potential bottlenecks in the setup process.

* feat: update CodSpeed workflow to enhance test execution and duration tracking

* refactor: streamline performance tests for database initialization and app startup

* test: enhance app startup performance test with pytest benchmarking

* test: update benchmark for database initialization

Remove unnecessary benchmark call and simplify the database initialization test to enhance clarity and reliability in performance testing.

* chore: remove unnecessary pytest options from CodSpeed workflow

* Add environment setup for test_app_startup benchmark test

* Add benchmark test for app startup with database setup and flow loading

* Add benchmark markers to flow building tests in test_chat_endpoint.py

* perf: add benchmarks for service initialization and caching

Introduce benchmarks for various service initialization functions and LLM caching to improve performance evaluations.

* Remove unused benchmark marker from test function in test_chat_endpoint.py

* perf: initialize services in super user benchmark test

* Add benchmarking to test_create_starter_projects in performance tests

* Add asyncio threading to benchmark tests and remove benchmark fixture usage

* Remove database initialization benchmark test from performance suite
2024-11-04 23:45:39 +00:00
Gabriel Luiz Freitas Almeida
a7f28394ae
ci: add CodSpeed workflow and pytest-codspeed for performance testing (#4350) 2024-11-02 13:06:14 +00:00