2015
DOI: 10.15439/2015f139
|View full text |Cite
|
Sign up to set email alerts
|

Performance Research and Optimization on CPython’s Interpreter

Abstract: Abstract-In this paper, the performance research on CPython's latest interpreter is presented, concluding that bytecode dispatching takes about 25 percent of total execution time on average. Based on this observation, a novel bytecode dispatching mechanism is proposed to reduce the time spent on this phase to a minimum. With this mechanism, the blocks associated with each kind of bytecodes are rewritten in hand-tuned assembly, their opcodes are renumbered, and their memory spaces are rescheduled. With these pr… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1

Citation Types

0
1
0

Year Published

2018
2018
2022
2022

Publication Types

Select...
4
1

Relationship

0
5

Authors

Journals

citations
Cited by 5 publications
(1 citation statement)
references
References 18 publications
(18 reference statements)
0
1
0
Order By: Relevance
“…Nonetheless, performance analysis of early releases of the language was characterised as providing poor performance relative to traditional compiled languages [7,9], with early comparisons of execution time performance of Java code showing significant underperformance relative to C or C++ code [7,[20][21][22][23]. The Java interpreter was especially slow [8,24] in contrast to code compiled to native code [25][26][27], or even Java JIT-compiled code [27], performance challenges that persist with contemporary language interpreters [28][29][30].…”
Section: Introductionmentioning
confidence: 99%
“…Nonetheless, performance analysis of early releases of the language was characterised as providing poor performance relative to traditional compiled languages [7,9], with early comparisons of execution time performance of Java code showing significant underperformance relative to C or C++ code [7,[20][21][22][23]. The Java interpreter was especially slow [8,24] in contrast to code compiled to native code [25][26][27], or even Java JIT-compiled code [27], performance challenges that persist with contemporary language interpreters [28][29][30].…”
Section: Introductionmentioning
confidence: 99%