Skip to main content

import_profile

Want to know how much time and memory each of your Python imports costs?

Find out with import_profile!

Just do:

python3 -m import_profile flask sqlalchemy flask_sqlalchemy pandas numpy

And you will get:

flask sqlalchemy flask_sqlalchemy numpy pandas

                   time cpu.user cpu.system memory.uss memory.rss
flask              0.15     0.12       0.02       9.92      13.08
sqlalchemy         0.10     0.09       0.01       5.09       5.22
flask_sqlalchemy   0.07     0.07       0.00       3.45       3.43
numpy              0.12     0.12       0.09       7.52      12.31
pandas             0.35     0.28       0.06      17.78      25.10
*base*             0.00     0.05       0.02       5.96      11.61

time       = seconds of real time since the import trial began
cpu.user   = seconds of CPU time spent in this process
cpu.system = seconds of CPU time spent waiting for the OS kernel, such
             as waiting for file I/O to complete
memory.uss = unique set size - memory taken up by process, minus
             shared objects/DLLs (megabytes)
memory.rss = resident set size (megabytes)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

import_profile-0.1.2.tar.gz (4.0 kB view details)

Uploaded Source

File details

Details for the file import_profile-0.1.2.tar.gz.

File metadata

  • Download URL: import_profile-0.1.2.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for import_profile-0.1.2.tar.gz
Algorithm Hash digest
SHA256 500b00982d6a83449c49ce70e61f56dabd6e494cc3a27dfec2d9c5b16138ac34
MD5 e3f6478dbd6f4bdf7dad5b3e36c43598
BLAKE2b-256 dd03e042b309a43af3b9c2e3ae2456a68e7c5b8abdcd4c531282f82a2b041d04

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.2 This release

1 file

0.1.1

1 file

0.1.0

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page