ctpbee_analyzer
示例
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
Metadata
Release files for ctpbee_analyzer 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ctpbee_analyzer-0.0.6.tar.gz | 2.6 kB | Without provenance | Details for ctpbee_analyzer-0.0.6.tar.gz |
Release files / ctpbee_analyzer-0.0.6.tar.gz
| Download URL | ctpbee_analyzer-0.0.6.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1b261273c0a3c6d8f7a4cda403a678a7b74e9a9c3366f7b3297c6d6db999006b
|
|
BLAKE2b-256 checksum How to use checksums |
8f35a21e3cd16ba09dc7120befd94886488999cb56c08926307e9bf497cb504a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.7
|
Security for ctpbee_analyzer 0.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.