Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • benchmarks benchmarks
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PyPy
  • benchmarksbenchmarks
  • Merge requests
  • !5

Added bench mark groups and some more python 3 benchmarks

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Bitbucket Importer requested to merge topic/python3_benchmarks/bitbucket-pr-5 into branch/default Aug 28, 2013
  • Overview 1
  • Commits 15
  • Changes 231+

Created originally on Bitbucket by rjnienaber (Richard Nienaber)

Python 3 Benchmarks

The following benchmarks were copied from CPython or ported:

  • CPython: chaos, django, fannkuch, float, go, hexiom2, json, meteor-contest, nobody, pidigits, raytrace, richards, spectral-norm, telco, ai (now nqueens)
  • Ported: htm5lib, crypto_pyaes, pyflate, sympy, scimark, mako, chameleon

Not ported (Python 3 not supported or not released)

  • spambayes
  • twisted
  • eparse (twisted code)
  • rietveld (requires app_engine as well)
  • sphinx (http://bugs.python.org/issue10224)
  • trans2 (rpython specific test which will require lots of work)
  • genshi
  • spitfire

Benchmark groups

The benchmark group logic from unladen swallow has been reused to separate python3 benchmarks from the original benchmarks.

The following are examples for running benchmark code:

  • pypy runner.py --fast -c pypy --baseline=pypy19 (all default/original)
  • pypy runner.py --fast -c pypy --baseline=pypy19 -b default (all default/original)
  • pypy runner.py --fast -c pypy --baseline=pypy19 -b math (math group)
  • pypy runner.py --fast -c pypy --baseline=pypy19 -b 2n3 (benchmarks valid in python 2 and python 3)
  • pypy runner.py --fast -c pypy3 --baseline=pypy3 --baseline=pypy19 -b python3 (python3 only benchmarks)
  • pypy runner.py --fast -c pypy --baseline=pypy19 -b spitfire (individual test)
  • pypy runner.py --fast -c pypy --baseline=pypy19 -b regex,ai (group and individual test)
  • pypy runner.py --fast -c pypy --baseline=pypy19 -b scimark,-scimark_fft (scimark group except scimark_fft)

Note: regex tests have been enabled in the default group

Edited Jan 17, 2023 by Matti Picus
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: topic/python3_benchmarks/bitbucket-pr-5