ctpbee_analyzer
Project description
from ctpbee_analyzer import cost
@cost
def test1():
a = [1] * (10 ** 6)
b = [2] * (2 * 10 ** 7)
del b
return a
@cost
def test2():
a = [1] * (10 ** 6)
b = [2] * (2 * 10 ** 7)
return a
if __name__ == '__main__':
test1()
test2()
>> Function Spend CPU Memory =============================================================== test1 111.734 ms 98.4 % 19.164 MiB Function Spend CPU Memory =============================================================== test2 110.564 ms 108.5 % 171.629 MiB
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ctpbee_analyzer-0.0.6.tar.gz
(2.6 kB
view details)
File details
Details for the file ctpbee_analyzer-0.0.6.tar.gz.
File metadata
- Download URL: ctpbee_analyzer-0.0.6.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b261273c0a3c6d8f7a4cda403a678a7b74e9a9c3366f7b3297c6d6db999006b
|
|
| MD5 |
814741250c0c2c5a5b88fb3a697ccc77
|
|
| BLAKE2b-256 |
8f35a21e3cd16ba09dc7120befd94886488999cb56c08926307e9bf497cb504a
|