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

LLVM tier: adjust num of IC slots depending on the num of times the IC got rewritten in the bjit tier #977

Merged
merged 1 commit into from
Oct 20, 2015

Conversation

undingen
Copy link
Contributor

I chose IC slot size heuristic just by running a few times the benchmarks and taking the best one, we may want to adjust it later.

           django_template3.py             2.2s (6)             2.2s (2)  -0.5%
                 pyxl_bench.py             1.9s (6)             1.8s (2)  -3.8%
     sqlalchemy_imperative2.py             2.3s (6)             2.3s (2)  -1.3%
                pyxl_bench2.py             1.5s (6)             1.3s (2)  -14.5%
       django_template3_10x.py            14.3s (6)            14.2s (2)  -0.5%
             pyxl_bench_10x.py            14.7s (6)            13.9s (2)  -5.4%
 sqlalchemy_imperative2_10x.py            18.1s (6)            17.4s (2)  -3.4%
            pyxl_bench2_10x.py            13.8s (6)            11.6s (2)  -15.9%
                       geomean                 5.4s                 5.1s  -5.9%

@kmod
Copy link
Collaborator

kmod commented Oct 20, 2015

Wow, 15% (even on pyxl_bench2) is pretty impressive :)

kmod added a commit that referenced this pull request Oct 20, 2015
LLVM tier: adjust num of IC slots depending on the num of times the IC got rewritten in the bjit tier
@kmod kmod merged commit 5472b5e into pyston:master Oct 20, 2015
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