Skip to content
Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Commits on Nov 28, 2022

  1. Fix the django_template benchmark on cpython main (gh-248)

    Fixes #247.
    
    Django has a runtime dependency on distutils, so adding setuptools as a dependency resolves it.
    
    This has already been resolved upstream [1], but this allows us to keep using the same version of Django for the benchmark.
    
    [1] django/django#14240
    mdboom committed Nov 28, 2022
  2. Add a Dask benchmark (gh-246)

    The Dask scheduler is largely pure-python-code-bound. There is a discussion about the details here. For this reason, it makes a good real-world workload of a distributed system benchmark (even when the benchmark is running locally on a single core).
    
    Thanks to @TomAugspurger for the suggestion, and @mrocklin for providing the meat of the benchmark itself.
    mdboom committed Nov 28, 2022

Commits on Nov 20, 2022

  1. Prepare release 1.0.6

    pablogsal committed Nov 20, 2022

Commits on Nov 6, 2022

  1. Upgrade to pyperf 2.5.0 (#240)

    This, in particular, is to get the new pystats support in pyperf
    as part of:
    
      faster-cpython/tools#115
    mdboom committed Nov 6, 2022

Commits on Sep 27, 2022

  1. Add jobs field in compile section to specify make -j param (#236)

    This helps reduce compilation time on multi core machines.
    aisk committed Sep 27, 2022

Commits on Sep 6, 2022

  1. Add benchmark for Docutils (#216)

    This adds a benchmark of Docutils as an application. I thought a reasonable test load was Docutils' own docs (takes ~4.5-5s on my computer).
    
    I haven't submitted a benchmark before---I don't know the best way of storing the input data, so for speed I copied the documentation into git here (the docs are public domain).
    AA-Turner committed Sep 6, 2022

Commits on Aug 31, 2022

Commits on Aug 19, 2022

  1. Fix Manifest Group (#235)

    This addresses several of the problems noted in #234.
    
    Notably:
    
    * disallow groups named "all"
    * disallow duplicate group names, even if in different included manifests
    * disallow benchmarks named "all"
    * disallow duplicate benchmark names
    * clean up the "list_groups" command
    * fix how group resolution falls back to the tags
    ericsnowcurrently committed Aug 19, 2022
  2. Ensure we use the right _resolve(). (#233)

    We weren't properly resetting _resolve when switching between files. So if the default manifest came first in a "combined" manifest, any includes or benchmarks after that would erroneously use the default resolve_default_benchmark().
    ericsnowcurrently committed Aug 19, 2022
  3. Fix installing dev build of pyperformance inside compile/compile_all (#…

    …232)
    
    The compile and compile_all commands:
    
    - (a) build a fresh Python and `pip` installs `pyperformance` into it.
    - (b) for each benchmark, creates a virtual environment and installs
      `pyperformance` (and other things) into that.
    
    If hacking on a checkout of `pyperformance`, you want to make sure that it's
    installing from the local checkout and never from PyPI or your changes won't be
    in effect.
    
    There are two bugs related to this one:
    
    - pyperformance detects if it's a dev version by looking for an
      `pyperformance.egg-link` file in `site-packages` [1]. If that's not the case,
      pyperformance is installed from PyPI. In step (a), it installs the local
      `pyperformance` in non-editable mode, thus no `.egg-link` file, so when (b)
      happens, `pyperformance` is installed from PyPI.
    
    - The check for the `.egg-link` file itself is broken, but perhaps because
      `toml` changed from a module to a package at one point. It needs to look up a
      directory.
    
    [1] https://github.com/python/pyperformance/blob/main/pyperformance/__init__.py#L32
    mdboom committed Aug 19, 2022

Commits on Aug 15, 2022

  1. add sqlglot benchmarks (#221)

    sqlglot is a pure python sql parser, transpiler, and optimizer
    tobymao committed Aug 15, 2022
  2. Support reporting geometric mean by tags (#209)

    * Support reporting geometric mean by tags
    
    This requires the following changes to pyperf first: psf/pyperf#132
    
    * Ensure `tags` is always a list
    
    * Use property
    
    * Update pyperf
    mdboom committed Aug 15, 2022

Commits on Aug 5, 2022

Commits on Jul 27, 2022

  1. Allow for specifying local wheels and sdists as dependencies (#215)

    It is useful, especially when creating custom versions of dependencies that are compatible with CPython main, to specify local file paths as dependencies. Unfortunately, that's blocked by a feature that treats any dependency that matches a file path as a requirements file. This makes that check a little more specific which allows for installing wheels.
    mdboom committed Jul 27, 2022

Commits on Jul 7, 2022

  1. Add a benchmark based on python -m pprint (#222)

    * Port pprint performance tests
    
    * Benchmark _safe_repr only if it exists
    
    * Rename the benchmark
    
    * Remove a spurious `cmd` variable
    
    * Move constant object to a module level
    
    * Add a description
    
    * Rename benchmark labels
    
    * Make the benchmark top-level
    
    * Return accidentally removed full test names
    arhadthedev committed Jul 7, 2022

Commits on Jul 5, 2022

Commits on Jun 18, 2022

  1. Reduce noise in generators benchmark (#218)

    (And fix a return type)
    kumaraditya303 committed Jun 18, 2022

Commits on Jun 7, 2022

  1. Add benchmark for deepcopy (#201)

    * Add benchmark for deepcopy
    
    * fix typo
    
    * Update pyperformance/data-files/benchmarks/bm_deepcopy/run_benchmark.py
    
    Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
    
    * Update pyperformance/data-files/benchmarks/bm_deepcopy/run_benchmark.py
    
    Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
    
    * address review comments
    
    * Update pyperformance/data-files/benchmarks/bm_deepcopy/run_benchmark.py
    
    Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
    
    Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
    eendebakpt and ericsnowcurrently committed Jun 7, 2022

Commits on Jun 6, 2022

Commits on May 27, 2022

  1. use deadsnakes for nightly 3.11 CI (#211)

    Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>
    kumaraditya303 and gvanrossum committed May 27, 2022

Commits on May 24, 2022

Commits on May 16, 2022

  1. Add benchmark for async tree workloads (#187)

    Add a benchmark for testing async workloads, specifically an async tree workload that simulates simpler versions of a typical Instagram endpoint.  (See python/cpython#91121.)
    arielin3 committed May 16, 2022

Commits on May 11, 2022

Commits on May 5, 2022

  1. github: Update PyPy version from 3.6 to [3.7, 3.8, 3.9] (#196)

    * github: Update PyPy version from 3.6 to [3.7, 3.8, 3.9]
    
    * revert the comment
    corona10 committed May 5, 2022
  2. Treat non +- lines as positive (#193)

    in manifest group sections
    
    fixes #191
    kmod committed May 5, 2022

Commits on May 3, 2022

Older