Avatar for the sparckles user
sparckles
Robyn
BlogDocsChangelog

refactor: openApi made lazy.

#1066
Comparing
dave42w:lazy-openapi
(
f9bf080
) with
main
(
7495342
)
CodSpeed Performance Gauge
-48%
Improvements
0
Regressions
5
Untouched
141
New
0
Dropped
0
Ignored
0

Benchmarks

Failed

test_add_request_headerRegression
integration_tests/test_app.py::test_add_request_header
CodSpeed Performance Gauge
-48%
341.9 µs
652.8 µs
test_add_response_headerRegression
integration_tests/test_app.py::test_add_response_header
CodSpeed Performance Gauge
-48%
342 µs
652.5 µs
test_allow_corsRegression
integration_tests/test_app.py::test_allow_cors
CodSpeed Performance Gauge
-40%
455.3 µs
756.7 µs
test_lifecycle_handlersRegression
integration_tests/test_app.py::test_lifecycle_handlers
CodSpeed Performance Gauge
-45%
373.5 µs
682.9 µs
test_custom_openapi_specRegression
integration_tests/test_openapi.py::test_custom_openapi_spec
CodSpeed Performance Gauge
-39%
466.3 µs
765.7 µs

Passed

test_env_population
integration_tests/test_env_populator.py::test_env_population
CodSpeed Performance Gauge
0%
317.6 µs
317.3 µs
test_exception_handling[/sync/put/no_dec-put]
integration_tests/test_add_route_without_decorator.py::test_exception_handling[/sync/put/no_dec-put]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_valid_authentication[sync]
integration_tests/test_authentication.py::test_valid_authentication[sync]
CodSpeed Performance Gauge
0%
4.7 ms
4.7 ms
test_sub_router_web_socket
integration_tests/test_subrouter.py::test_sub_router_web_socket
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
test_default_url_index_request
integration_tests/test_base_url.py::test_default_url_index_request
CodSpeed Performance Gauge
0%
4.6 ms
4.6 ms
test_template[sync]
integration_tests/test_get_requests.py::test_template[sync]
CodSpeed Performance Gauge
0%
4.7 ms
4.7 ms
test_get_async_decorator_view
integration_tests/test_views.py::test_get_async_decorator_view
CodSpeed Performance Gauge
0%
4.7 ms
4.7 ms
test_web_socket_raw_benchmark
integration_tests/test_web_sockets.py::test_web_socket_raw_benchmark
CodSpeed Performance Gauge
0%
1.6 ms
1.6 ms
test_split_request_params_get_path_params[split_request_untyped-async]
integration_tests/test_split_request_params.py::test_split_request_params_get_path_params[split_request_untyped-async]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_basic_get[/async/str/const-async str const get-None-None]
integration_tests/test_basic_routes.py::test_basic_get[/async/str/const-async str const get-None-None]
CodSpeed Performance Gauge
0%
4.7 ms
4.7 ms
test_local_index_request
integration_tests/test_base_url.py::test_local_index_request
CodSpeed Performance Gauge
0%
4.6 ms
4.6 ms
test_split_request_params_get_combined[split_request_typed-sync]
integration_tests/test_split_request_params.py::test_split_request_params_get_combined[split_request_typed-sync]
CodSpeed Performance Gauge
0%
5 ms
5 ms
test_sub_router[patch]
integration_tests/test_subrouter.py::test_sub_router[patch]
CodSpeed Performance Gauge
0%
4.7 ms
4.7 ms
test_sub_router[options]
integration_tests/test_subrouter.py::test_sub_router[options]
CodSpeed Performance Gauge
0%
4.7 ms
4.7 ms
test_post_async_view
integration_tests/test_views.py::test_post_async_view
CodSpeed Performance Gauge
0%
4.7 ms
4.8 ms
test_response_in_before_middleware
integration_tests/test_middlewares.py::test_response_in_before_middleware
CodSpeed Performance Gauge
0%
4.6 ms
4.6 ms
test_serve_html[sync]
integration_tests/test_get_requests.py::test_serve_html[sync]
CodSpeed Performance Gauge
0%
4.7 ms
4.7 ms
test_split_request_params_get_path_params[split_request_typed-async]
integration_tests/test_split_request_params.py::test_split_request_params_get_path_params[split_request_typed-async]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_delete[sync]
integration_tests/test_delete_requests.py::test_delete[sync]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_basic_get[/sync/str-sync str get-None-None]
integration_tests/test_basic_routes.py::test_basic_get[/sync/str-sync str get-None-None]
CodSpeed Performance Gauge
0%
4.7 ms
4.7 ms
test_split_request_params_typed_untyped_post_combined[async]
integration_tests/test_split_request_params.py::test_split_request_params_typed_untyped_post_combined[async]
CodSpeed Performance Gauge
0%
5 ms
5 ms
test_split_request_params_get_combined[split_request_typed-async]
integration_tests/test_split_request_params.py::test_split_request_params_get_combined[split_request_typed-async]
CodSpeed Performance Gauge
0%
5 ms
5 ms
test_basic_get[/sync/dict/const-sync dict const get-sync_const-dict]
integration_tests/test_basic_routes.py::test_basic_get[/sync/dict/const-sync dict const get-sync_const-dict]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_file_download[sync]
integration_tests/test_file_download.py::test_file_download[sync]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_get_sync_decorator_view
integration_tests/test_views.py::test_get_sync_decorator_view
CodSpeed Performance Gauge
0%
4.7 ms
4.7 ms
test_http_request_info_get[/sync/http/param-expected_json0]
integration_tests/test_basic_routes.py::test_http_request_info_get[/sync/http/param-expected_json0]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_exception_handling[/async/exception/get-get]
integration_tests/test_exception_handling.py::test_exception_handling[/async/exception/get-get]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_split_request_params_get_method[split_request_typed-async]
integration_tests/test_split_request_params.py::test_split_request_params_get_method[split_request_typed-async]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_sub_router[trace]
integration_tests/test_subrouter.py::test_sub_router[trace]
CodSpeed Performance Gauge
0%
4.7 ms
4.7 ms
test_param_suffix[async]
integration_tests/test_get_requests.py::test_param_suffix[async]
CodSpeed Performance Gauge
0%
9 ms
9 ms
test_post_sync_decorator_view
integration_tests/test_views.py::test_post_sync_decorator_view
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_split_request_params_get_method[split_request_typed-sync]
integration_tests/test_split_request_params.py::test_split_request_params_get_method[split_request_typed-sync]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_delete[async]
integration_tests/test_delete_requests.py::test_delete[async]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_binary_output[/async/octet-async octet]
integration_tests/test_binary_output.py::test_binary_output[/async/octet-async octet]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_patch[async]
integration_tests/test_patch_requests.py::test_patch[async]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_split_request_params_get_combined_failure[async]
integration_tests/test_split_request_params.py::test_split_request_params_get_combined_failure[async]
CodSpeed Performance Gauge
0%
5 ms
5 ms
test_sub_router_head
integration_tests/test_subrouter.py::test_sub_router_head
CodSpeed Performance Gauge
0%
4.7 ms
4.7 ms
test_post_sync_view
integration_tests/test_views.py::test_post_sync_view
CodSpeed Performance Gauge
0%
4.7 ms
4.7 ms
test_serve_html[async]
integration_tests/test_get_requests.py::test_serve_html[async]
CodSpeed Performance Gauge
0%
4.7 ms
4.7 ms
test_split_request_params_get_combined[split_request_untyped-async]
integration_tests/test_split_request_params.py::test_split_request_params_get_combined[split_request_untyped-async]
CodSpeed Performance Gauge
0%
5 ms
5 ms
test_get_async_view
integration_tests/test_views.py::test_get_async_view
CodSpeed Performance Gauge
0%
4.7 ms
4.7 ms
test_basic_get[/sync/response-sync response get-sync-response]
integration_tests/test_basic_routes.py::test_basic_get[/sync/response-sync response get-sync-response]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_json_get[/sync/json/const-expected_json2]
integration_tests/test_basic_routes.py::test_json_get[/sync/json/const-expected_json2]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_basic_get[/async/response/const-async response const get-async_const-response]
integration_tests/test_basic_routes.py::test_basic_get[/async/response/const-async response const get-async_const-response]
CodSpeed Performance Gauge
0%
4.9 ms
4.9 ms
test_split_request_params_get_query_params[split_request_typed-sync]
integration_tests/test_split_request_params.py::test_split_request_params_get_query_params[split_request_typed-sync]
CodSpeed Performance Gauge
0%
13.5 ms
13.6 ms
test_404_status_code
integration_tests/test_status_code.py::test_404_status_code
CodSpeed Performance Gauge
0%
4.6 ms
4.6 ms
test_exception_handling[/sync/exception/put-put]
integration_tests/test_exception_handling.py::test_exception_handling[/sync/exception/put-put]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_split_request_params_get_path_params[split_request_untyped-sync]
integration_tests/test_split_request_params.py::test_split_request_params_get_path_params[split_request_untyped-sync]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_split_request_params_get_query_params[split_request_typed-async]
integration_tests/test_split_request_params.py::test_split_request_params_get_query_params[split_request_typed-async]
CodSpeed Performance Gauge
0%
13.6 ms
13.6 ms
test_global_middleware
integration_tests/test_middlewares.py::test_global_middleware
CodSpeed Performance Gauge
0%
4.7 ms
4.7 ms
test_202_status_code
integration_tests/test_status_code.py::test_202_status_code
CodSpeed Performance Gauge
0%
4.6 ms
4.6 ms
test_param[async]
integration_tests/test_get_requests.py::test_param[async]
CodSpeed Performance Gauge
0%
8.9 ms
8.9 ms
test_template[async]
integration_tests/test_get_requests.py::test_template[async]
CodSpeed Performance Gauge
0%
4.7 ms
4.7 ms
test_http_request_info_get[/async/http/param-expected_json1]
integration_tests/test_basic_routes.py::test_http_request_info_get[/async/http/param-expected_json1]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_param[sync]
integration_tests/test_get_requests.py::test_param[sync]
CodSpeed Performance Gauge
0%
8.9 ms
8.9 ms
test_basic_get[/sync/response/const-sync response const get-sync_const-response]
integration_tests/test_basic_routes.py::test_basic_get[/sync/response/const-sync response const get-sync_const-response]
CodSpeed Performance Gauge
0%
4.9 ms
4.9 ms
test_file_download[async]
integration_tests/test_file_download.py::test_file_download[async]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_binary_output[/async/octet/response-async octet response]
integration_tests/test_binary_output.py::test_binary_output[/async/octet/response-async octet response]
CodSpeed Performance Gauge
0%
4.9 ms
4.9 ms
test_split_request_params_get_query_params[split_request_untyped-sync]
integration_tests/test_split_request_params.py::test_split_request_params_get_query_params[split_request_untyped-sync]
CodSpeed Performance Gauge
0%
13.6 ms
13.6 ms
test_sub_router[post]
integration_tests/test_subrouter.py::test_sub_router[post]
CodSpeed Performance Gauge
0%
4.7 ms
4.7 ms
test_param_suffix[sync]
integration_tests/test_get_requests.py::test_param_suffix[sync]
CodSpeed Performance Gauge
0%
8.9 ms
9 ms
test_exception_handling[/async/post/no_dec-post]
integration_tests/test_add_route_without_decorator.py::test_exception_handling[/async/post/no_dec-post]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_trailing_slash
integration_tests/test_get_requests.py::test_trailing_slash
CodSpeed Performance Gauge
0%
8.7 ms
8.8 ms
test_404_not_found
integration_tests/test_status_code.py::test_404_not_found
CodSpeed Performance Gauge
0%
4.7 ms
4.7 ms
test_post[async]
integration_tests/test_post_requests.py::test_post[async]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_put[sync]
integration_tests/test_put_requests.py::test_put[sync]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_exception_handling[/async/exception/put-put]
integration_tests/test_exception_handling.py::test_exception_handling[/async/exception/put-put]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_basic_get[/sync/dict-sync dict get-sync-dict]
integration_tests/test_basic_routes.py::test_basic_get[/sync/dict-sync dict get-sync-dict]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_binary_output[/sync/octet-sync octet]
integration_tests/test_binary_output.py::test_binary_output[/sync/octet-sync octet]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_json_get[/async/json/const-expected_json3]
integration_tests/test_basic_routes.py::test_json_get[/async/json/const-expected_json3]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_split_request_params_get_headers[split_request_untyped-async]
integration_tests/test_split_request_params.py::test_split_request_params_get_headers[split_request_untyped-async]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_invalid_authentication_token[async]
integration_tests/test_authentication.py::test_invalid_authentication_token[async]
CodSpeed Performance Gauge
0%
4.7 ms
4.7 ms
test_delete_with_param[async]
integration_tests/test_delete_requests.py::test_delete_with_param[async]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_split_request_params_get_combined[split_request_untyped-sync]
integration_tests/test_split_request_params.py::test_split_request_params_get_combined[split_request_untyped-sync]
CodSpeed Performance Gauge
0%
5 ms
5 ms
test_invalid_authentication_header[async]
integration_tests/test_authentication.py::test_invalid_authentication_header[async]
CodSpeed Performance Gauge
0%
4.7 ms
4.7 ms
test_valid_authentication[async]
integration_tests/test_authentication.py::test_valid_authentication[async]
CodSpeed Performance Gauge
0%
4.7 ms
4.7 ms
test_sync_500_internal_server_error[async]
integration_tests/test_status_code.py::test_sync_500_internal_server_error[async]
CodSpeed Performance Gauge
0%
4.6 ms
4.6 ms
test_sub_router[get]
integration_tests/test_subrouter.py::test_sub_router[get]
CodSpeed Performance Gauge
0%
4.7 ms
4.7 ms
test_put_with_param[sync]
integration_tests/test_put_requests.py::test_put_with_param[sync]
CodSpeed Performance Gauge
0%
4.7 ms
4.7 ms
test_exception_handling[/async/put/no_dec-put]
integration_tests/test_add_route_without_decorator.py::test_exception_handling[/async/put/no_dec-put]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_split_request_params_get_headers[split_request_typed-sync]
integration_tests/test_split_request_params.py::test_split_request_params_get_headers[split_request_typed-sync]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_split_request_params_get_body[split_request_typed-async]
integration_tests/test_split_request_params.py::test_split_request_params_get_body[split_request_typed-async]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_split_request_params_typed_untyped_post_combined[sync]
integration_tests/test_split_request_params.py::test_split_request_params_typed_untyped_post_combined[sync]
CodSpeed Performance Gauge
0%
5 ms
5 ms
test_json_get[/sync/json-expected_json0]
integration_tests/test_basic_routes.py::test_json_get[/sync/json-expected_json0]
CodSpeed Performance Gauge
0%
4.7 ms
4.7 ms
test_invalid_authentication_no_token[sync]
integration_tests/test_authentication.py::test_invalid_authentication_no_token[sync]
CodSpeed Performance Gauge
0%
4.6 ms
4.6 ms
test_patch_with_param[sync]
integration_tests/test_patch_requests.py::test_patch_with_param[sync]
CodSpeed Performance Gauge
0%
4.7 ms
4.8 ms
test_invalid_authentication_header[sync]
integration_tests/test_authentication.py::test_invalid_authentication_header[sync]
CodSpeed Performance Gauge
0%
4.7 ms
4.7 ms
test_exception_handling[/sync/exception/post-post]
integration_tests/test_exception_handling.py::test_exception_handling[/sync/exception/post-post]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_form_data[sync]
integration_tests/test_multipart_data.py::test_form_data[sync]
CodSpeed Performance Gauge
0%
4.9 ms
5 ms
test_sub_router[put]
integration_tests/test_subrouter.py::test_sub_router[put]
CodSpeed Performance Gauge
0%
4.7 ms
4.7 ms
test_exception_handling[/sync/get/no_dec-get]
integration_tests/test_add_route_without_decorator.py::test_exception_handling[/sync/get/no_dec-get]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_exception_handling[/sync/exception/get-get]
integration_tests/test_exception_handling.py::test_exception_handling[/sync/exception/get-get]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_sub_router[delete]
integration_tests/test_subrouter.py::test_sub_router[delete]
CodSpeed Performance Gauge
0%
4.7 ms
4.7 ms
test_split_request_params_get_headers[split_request_untyped-sync]
integration_tests/test_split_request_params.py::test_split_request_params_get_headers[split_request_untyped-sync]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_post_with_param[async]
integration_tests/test_post_requests.py::test_post_with_param[async]
CodSpeed Performance Gauge
0%
4.7 ms
4.8 ms
test_patch[sync]
integration_tests/test_patch_requests.py::test_patch[sync]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_split_request_params_get_path_params[split_request_typed-sync]
integration_tests/test_split_request_params.py::test_split_request_params_get_path_params[split_request_typed-sync]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_split_request_params_get_method[split_request_untyped-sync]
integration_tests/test_split_request_params.py::test_split_request_params_get_method[split_request_untyped-sync]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_basic_get[/async/str-async str get-None-None]
integration_tests/test_basic_routes.py::test_basic_get[/async/str-async str get-None-None]
CodSpeed Performance Gauge
0%
4.7 ms
4.7 ms
test_multipart_file[sync]
integration_tests/test_multipart_data.py::test_multipart_file[sync]
CodSpeed Performance Gauge
0%
5 ms
5 ms
test_invalid_authentication_no_token[async]
integration_tests/test_authentication.py::test_invalid_authentication_no_token[async]
CodSpeed Performance Gauge
0%
4.6 ms
4.7 ms
test_sync_500_internal_server_error[sync]
integration_tests/test_status_code.py::test_sync_500_internal_server_error[sync]
CodSpeed Performance Gauge
0%
4.6 ms
4.6 ms
test_split_request_params_get_query_params[split_request_untyped-async]
integration_tests/test_split_request_params.py::test_split_request_params_get_query_params[split_request_untyped-async]
CodSpeed Performance Gauge
0%
13.6 ms
13.6 ms
test_patch_with_param[async]
integration_tests/test_patch_requests.py::test_patch_with_param[async]
CodSpeed Performance Gauge
0%
4.7 ms
4.8 ms
test_dev_index_request
integration_tests/test_base_url.py::test_dev_index_request
CodSpeed Performance Gauge
0%
4.6 ms
4.7 ms
test_invalid_authentication_token[sync]
integration_tests/test_authentication.py::test_invalid_authentication_token[sync]
CodSpeed Performance Gauge
0%
4.7 ms
4.7 ms
test_split_request_params_get_body[split_request_typed-sync]
integration_tests/test_split_request_params.py::test_split_request_params_get_body[split_request_typed-sync]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_json_get[/async/json-expected_json1]
integration_tests/test_basic_routes.py::test_json_get[/async/json-expected_json1]
CodSpeed Performance Gauge
0%
4.7 ms
4.7 ms
test_split_request_params_get_headers[split_request_typed-async]
integration_tests/test_split_request_params.py::test_split_request_params_get_headers[split_request_typed-async]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_exception_handling[/sync/post/no_dec-post]
integration_tests/test_add_route_without_decorator.py::test_exception_handling[/sync/post/no_dec-post]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_queries[sync]
integration_tests/test_get_requests.py::test_queries[sync]
CodSpeed Performance Gauge
0%
9 ms
9 ms
test_docs_handler
integration_tests/test_openapi.py::test_docs_handler
CodSpeed Performance Gauge
0%
4.6 ms
4.6 ms
test_get_sync_view
integration_tests/test_views.py::test_get_sync_view
CodSpeed Performance Gauge
0%
4.7 ms
4.7 ms
test_split_request_params_get_method[split_request_untyped-async]
integration_tests/test_split_request_params.py::test_split_request_params_get_method[split_request_untyped-async]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_basic_get[/async/response-async response get-async-response]
integration_tests/test_basic_routes.py::test_basic_get[/async/response-async response get-async-response]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_basic_get[/async/dict-async dict get-async-dict]
integration_tests/test_basic_routes.py::test_basic_get[/async/dict-async dict get-async-dict]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_post_with_param[sync]
integration_tests/test_post_requests.py::test_post_with_param[sync]
CodSpeed Performance Gauge
0%
4.7 ms
4.8 ms
test_binary_output[/sync/octet/response-sync octet response]
integration_tests/test_binary_output.py::test_binary_output[/sync/octet/response-sync octet response]
CodSpeed Performance Gauge
0%
4.9 ms
4.9 ms
test_middlewares[async]
integration_tests/test_middlewares.py::test_middlewares[async]
CodSpeed Performance Gauge
0%
4.7 ms
4.8 ms
test_post[sync]
integration_tests/test_post_requests.py::test_post[sync]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_put[async]
integration_tests/test_put_requests.py::test_put[async]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_queries[async]
integration_tests/test_get_requests.py::test_queries[async]
CodSpeed Performance Gauge
0%
9 ms
9 ms
test_global_index_request
integration_tests/test_base_url.py::test_global_index_request
CodSpeed Performance Gauge
0%
4.6 ms
4.6 ms
test_split_request_params_get_body[split_request_untyped-sync]
integration_tests/test_split_request_params.py::test_split_request_params_get_body[split_request_untyped-sync]
CodSpeed Performance Gauge
0%
4.8 ms
4.9 ms
test_split_request_params_get_body[split_request_untyped-async]
integration_tests/test_split_request_params.py::test_split_request_params_get_body[split_request_untyped-async]
CodSpeed Performance Gauge
0%
4.8 ms
4.9 ms
test_basic_get[/sync/str/const-sync str const get-None-None]
integration_tests/test_basic_routes.py::test_basic_get[/sync/str/const-sync str const get-None-None]
CodSpeed Performance Gauge
0%
4.7 ms
4.7 ms
test_middlewares[sync]
integration_tests/test_middlewares.py::test_middlewares[sync]
CodSpeed Performance Gauge
0%
4.7 ms
4.8 ms
test_exception_handling[/async/get/no_dec-get]
integration_tests/test_add_route_without_decorator.py::test_exception_handling[/async/get/no_dec-get]
CodSpeed Performance Gauge
0%
4.7 ms
4.7 ms
test_put_with_param[async]
integration_tests/test_put_requests.py::test_put_with_param[async]
CodSpeed Performance Gauge
0%
4.7 ms
4.8 ms
test_basic_get[/async/dict/const-async dict const get-async_const-dict]
integration_tests/test_basic_routes.py::test_basic_get[/async/dict/const-async dict const get-async_const-dict]
CodSpeed Performance Gauge
0%
4.8 ms
4.9 ms
test_split_request_params_get_combined_failure[sync]
integration_tests/test_split_request_params.py::test_split_request_params_get_combined_failure[sync]
CodSpeed Performance Gauge
0%
5 ms
5 ms
test_delete_with_param[sync]
integration_tests/test_delete_requests.py::test_delete_with_param[sync]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_post_async_decorator_view
integration_tests/test_views.py::test_post_async_decorator_view
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_exception_handling[/async/exception/post-post]
integration_tests/test_exception_handling.py::test_exception_handling[/async/exception/post-post]
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
test_add_subrouter_paths
integration_tests/test_openapi.py::test_add_subrouter_paths
CodSpeed Performance Gauge
-3%
6.3 ms
6.5 ms
test_openapi_request_body
integration_tests/test_openapi.py::test_openapi_request_body
CodSpeed Performance Gauge
-3%
6.3 ms
6.5 ms
test_openapi_response_body
integration_tests/test_openapi.py::test_openapi_response_body
CodSpeed Performance Gauge
-3%
6.3 ms
6.5 ms
test_add_openapi_path
integration_tests/test_openapi.py::test_add_openapi_path
CodSpeed Performance Gauge
-3%
6.3 ms
6.5 ms
test_json_handler
integration_tests/test_openapi.py::test_json_handler
CodSpeed Performance Gauge
-3%
6.3 ms
6.5 ms
test_openapi_query_params
integration_tests/test_openapi.py::test_openapi_query_params
CodSpeed Performance Gauge
-3%
6.3 ms
6.5 ms

Commits

Click on a commit to change the comparison range
Base
main
7495342
-49%
refactor: openApi made lazy. This is a staging post so there are extra tests (in all the decorators). Fixes a potential issue in __init__ where the default argument creates a shared object at parse time rather than a separate one for each instance. As only one instance, not normally an issue but not good practice. One FIXME is an edge case in init_openapi where neither if clause evaluates to True for openapi_file_path (should we log an error or what?)
0dccef3
25 days ago
by dave42w
0%
refactor: openApi made lazy. All add_route methods have auth_required, openapi_name and openapi_tags which get stored in the route. Instead of incrementally adding them to openapi routes they are added all at once in app.start include_routes now additionally tracks the list of routers whose routes have been added to the main app. This will be used more later to avoid merging routes until app.start for more flexibility
642eac9
25 days ago
by dave42w
0%
refactor: try to solve the speed issue by improving handling moving from allowing None for openApi_tags to not
2ae5e7f
25 days ago
by dave42w
0%
refactor: slightly optimised lower_http_method I've tested with 100,000 loops. This is marginally faster. This PR lowers slows full test suite by 0.004s on my system. However, those benchmarks are mostly setup. Once we are making calls to a running server none of this code is being executed.
f9ebbee
24 days ago
by dave42w
0%
refactor: remove extra Robyn instance variable to avoid extra side effects in the future. No consistent peformance impact on 100,000 Robyn(__file__) calls
b1dae0b
24 days ago
by dave42w
0%
Merge branch 'sparckles:main' into lazy-openapi
cf11725
23 days ago
by dave42w
0%
Merge branch 'sparckles:main' into lazy-openapi
2d261e0
16 days ago
by dave42w
+1%
Merge branch 'sparckles:main' into lazy-openapi
f9bf080
7 days ago
by dave42w
Home Terms PrivacyDocs