Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use gpickle r/w in linker #306

Merged
merged 5 commits into from
Mar 3, 2017
Merged

Conversation

cmcarthur
Copy link
Member

(dbt-development-3.6) ✘-1 XXX [master|…1]
20:45 $ echo 'YAML TEST' && time python -m cProfile -o compile_profile.out ~/git/dbt/scripts/dbt compile --profile redshift
YAML TEST
^@Compiled 259 models, 101 tests, 0 archives, 0 analyses

real    0m20.827s
user    0m20.099s
sys     0m0.360s
(dbt-development-3.6) ✔ XXX [master|…1]
20:46 $ echo 'GPICKLE TEST' && time python -m cProfile -o compile_profile_gpickle.out ~/git/dbt/scripts/dbt compile --profile redshift
GPICKLE TEST
Compiled 259 models, 101 tests, 0 archives, 0 analyses

real    0m13.523s
user    0m12.786s
sys     0m0.293s

Wall time shows a 7sec speedup.

Snakeviz (YAML):

screen shot 2017-03-02 at 8 52 18 pm

Couldn't visualize it with gpickle, but it took 5.166ms to write the graph file vs 7.58s for YAML.

@drewbanin
Copy link
Contributor

@cmcarthur absolutely incredible

@cmcarthur cmcarthur requested a review from drewbanin March 3, 2017 04:35
@cmcarthur cmcarthur merged commit 6c0f59d into development Mar 3, 2017
@cmcarthur cmcarthur deleted the speedup/switch-to-gpickle branch March 3, 2017 14:32
iknox-fa pushed a commit that referenced this pull request Feb 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants