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

feat: Implement performance benchmarking #443

Merged
merged 2 commits into from
Mar 11, 2023
Merged

feat: Implement performance benchmarking #443

merged 2 commits into from
Mar 11, 2023

Conversation

sansyrox
Copy link
Member

Description

Partially address #442

@sansyrox sansyrox marked this pull request as ready for review March 10, 2023 20:21
@ghost
Copy link

ghost commented Mar 10, 2023

👇 Click on the image for a new way to code review

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

@sansyrox sansyrox force-pushed the feat/benchmarking branch 4 times, most recently from 81e92ae to becbc13 Compare March 10, 2023 21:30
@codspeed-hq
Copy link

codspeed-hq bot commented Mar 10, 2023

CodSpeed Performance Report

Merging #443 feat/benchmarking (c243aa1) will create unknown performance changes.

Congrats! CodSpeed is installed 🎉

🆕 68 new benchmarks were detected.

You will start to see performance impacts in the reports once the benchmarks are run from your default branch.

Detected benchmarks

  • test_add_request_header (4.8 ms)
  • test_add_response_header (4.7 ms)
  • test_lifecycle_handlers (5.1 ms)
  • test_default_url_index_request (30.1 ms)
  • test_local_index_request (30.3 ms)
  • test_global_index_request (30.5 ms)
  • test_dev_index_request (30.5 ms)
  • test_basic_get[/sync/str-sync str get-None-None] (30.8 ms)
  • test_basic_get[/sync/dict-sync dict get-sync-dict] (31.3 ms)
  • test_basic_get[/sync/response-sync response get-sync-response] (31.5 ms)
  • test_basic_get[/sync/str/const-sync str const get-None-None] (31 ms)
  • test_basic_get[/sync/dict/const-sync dict const get-sync_const-dict] (31.5 ms)
  • test_basic_get[/sync/response/const-sync response const get-sync_const-response] (31.7 ms)
  • test_basic_get[/async/str-async str get-None-None] (30.9 ms)
  • test_basic_get[/async/dict-async dict get-async-dict] (31.4 ms)
  • test_basic_get[/async/response-async response get-async-response] (31.5 ms)
  • test_basic_get[/async/str/const-async str const get-None-None] (31.1 ms)
  • test_basic_get[/async/dict/const-async dict const get-async_const-dict] (31.6 ms)
  • test_basic_get[/async/response/const-async response const get-async_const-response] (31.7 ms)
  • test_json_get[/sync/json-expected_json0] (31 ms)
  • test_json_get[/async/json-expected_json1] (31 ms)
  • test_json_get[/sync/json/const-expected_json2] (31.2 ms)
  • test_json_get[/async/json/const-expected_json3] (31.2 ms)
  • test_binary_output_sync (31.6 ms)
  • test_binary_output_response_sync (31.9 ms)
  • test_binary_output_async (31.6 ms)
  • test_binary_output_response_async (31.9 ms)
  • test_delete[sync] (31.5 ms)
  • test_delete[async] (31.5 ms)
  • test_delete_with_param[sync] (31.3 ms)
  • test_delete_with_param[async] (31.4 ms)
  • test_env_population (1 ms)
  • test_file_download[sync] (31.3 ms)
  • test_file_download[async] (31.4 ms)
  • test_param[sync] (60.8 ms)
  • test_param[async] (60.8 ms)
  • test_serve_html[sync] (30.8 ms)
  • test_serve_html[async] (30.9 ms)
  • test_template[sync] (30.8 ms)
  • test_template[async] (30.8 ms)
  • test_queries[sync] (61.3 ms)
  • test_queries[async] (61.4 ms)
  • test_patch[sync] (31.2 ms)
  • test_patch[async] (31.2 ms)
  • test_patch_with_param[sync] (31 ms)
  • test_patch_with_param[async] (31 ms)
  • test_post[sync] (31.2 ms)
  • test_post[async] (31.2 ms)
  • test_post_with_param[sync] (31 ms)
  • test_post_with_param[async] (31.1 ms)
  • test_put[sync] (31.2 ms)
  • test_put[async] (31.2 ms)
  • test_put_with_param[sync] (31 ms)
  • test_put_with_param[async] (31.1 ms)
  • test_404_status_code (30.3 ms)
  • test_404_not_found (30.8 ms)
  • test_202_status_code (30.4 ms)
  • test_sync_500_internal_server_error[sync] (30.4 ms)
  • test_sync_500_internal_server_error[async] (30.4 ms)
  • test_get_sync_view (30.6 ms)
  • test_post_sync_view (31 ms)
  • test_get_sync_decorator_view (30.9 ms)
  • test_post_sync_decorator_view (31.3 ms)
  • test_get_async_view (30.6 ms)
  • test_post_async_view (31.1 ms)
  • test_get_async_decorator_view (30.9 ms)
  • test_post_async_decorator_view (31.4 ms)
  • test_web_socket (5.9 ms)

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

Successfully merging this pull request may close these issues.

1 participant