Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • M mu-impl-fast
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 40
    • Issues 40
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • mumu
  • mu-impl-fast
  • Issues
  • #38
Closed
Open
Issue created Jun 08, 2017 by John Zhang@u5157779Developer

Allocation Performance

Description

Measured allocation performance using following code with n=10:

class A:
    pass

def alloc(n):
    for i in range(n):
        a = A()

def target(driver, args):
    ...
    def main(argv):
        ...
        for i in range(iterations):
            cb.begin()
            for j in range(1000000):
                alloc(n)
            cb.end()
        cb.report(resfile)
        return 0

Mean of measured results:

stack result
RPython Mu Zebu 0.00072474
RPython C clang -O0 0.00432998
RPython C clang -O1 0.0000008
Assignee
Assign to
Time tracking