-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
enhancementNew feature or requestNew feature or requestlow priorityCan be completed in the next 1-2 monthsCan be completed in the next 1-2 months
Description
Overview
Explore using alternatives to Pyinstaller to help with startup time.
Nuitka (~0.3 seconds)
➜ source venv/bin/activate
➜ python -m pip install nuitka
➜ python -m nuitka drs_downloader/cli.py
➜ time ./cli.bin
Usage: cli.bin [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
gen3 Copy files from gen3 server.
mock Generate test files locally, without the need for server.
terra Copy files from terra.bio
./cli.bin 0.16s user 0.04s system 59% cpu 0.336 total <---- ~0.3 secondsPyInstaller (~6 seconds)
➜ time ./dist/drs_downloader
Initializing ...
Usage: drs_downloader [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
gen3 Copy files from gen3 server.
mock Generate test files locally, without the need for server.
terra Copy files from terra.bio
./dist/drs_downloader 0.30s user 0.11s system 6% cpu 5.983 total <---- ~6 secondsMetadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestlow priorityCan be completed in the next 1-2 monthsCan be completed in the next 1-2 months