From f61d53860d3dfeb617d405e7b60d8268e0d74fad Mon Sep 17 00:00:00 2001 From: Diogo Sousa Date: Thu, 24 Aug 2023 18:20:04 +0100 Subject: [PATCH] update readme with tuna reference --- openbb_sdk/sdk/core/README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/openbb_sdk/sdk/core/README.md b/openbb_sdk/sdk/core/README.md index bdd6ca19706..17139ee3c4b 100644 --- a/openbb_sdk/sdk/core/README.md +++ b/openbb_sdk/sdk/core/README.md @@ -26,6 +26,7 @@ - [5. REST API](#5-rest-api) - [5.1 Test users](#51-test-users) - [6. Front-end typing](#6-front-end-typing) + - [7. Performance](#7-performance) ## 1. Introduction @@ -418,3 +419,17 @@ openapi-typescript + openapi-fetch openapi-generator - + +## 7. Performance + +We aim to have a short import time. To measure that we use `tuna`. + +- https://pypi.org/project/tuna/ + +To visualize the import time breakdown by module, run the following commands from `openbb_sdk` directory: + +```bash +pip install tuna +python -X importtime openbb/__init__.py 2> import.log +tuna import.log +```