1. 28 May, 2020 11 commits
    • Kirill Smelkov's avatar
      X compilebench: Don't spend time measuring compile and link separately · 618c37fc
      Kirill Smelkov authored
      We know from past benchmarks that most of the time is in compile.
      618c37fc
    • Kirill Smelkov's avatar
      X compilebench: Rework how `tcc -O2` is skipped · 5346237c
      Kirill Smelkov authored
      Don't continue on `if $CC == tcc` -> instead put actions that are not
      appropriate for `tcc -O2` under `if $CC != tcc`. We will add other
      actions to that loop - that's the reason.
      
      In preparation to add pystone_pyx.pyx
      5346237c
    • Kirill Smelkov's avatar
      X compilebench: Also measure python compile/import and cython times · aae7ed82
      Kirill Smelkov authored
      Cython is currently slow:
      
      	name                time/op
      	pycompile+pyimport  13.0ms ± 0%
      	pyimport            12.0ms ± 0%
      	cython/py            983ms ± 1%
      aae7ed82
    • Kirill Smelkov's avatar
      X compilebench: Fix thinko: op/s -> s/op · ec14f9e5
      Kirill Smelkov authored
      We mesure time, not operations per second.
      ec14f9e5
    • Kirill Smelkov's avatar
      X compilebench: Rewok compile/link/compile+link to not hardcode on what to work · 26ad1917
      Kirill Smelkov authored
      In preparation to add pystone_pyx.pyx
      26ad1917
    • Kirill Smelkov's avatar
      X compilebench: pystone_pyxtest -> pystone_pypyx · 42dccdf8
      Kirill Smelkov authored
      In preparation that in addition to pystone.pt there will be also
      pystone_pyx.pyx with type annotations.
      42dccdf8
    • Kirill Smelkov's avatar
      X compilebech: pystone2bench: Accept scientific format · c840774c
      Kirill Smelkov authored
      pystone can say, e.g. "this machine benchmarks at 1.85343e+06 pystones"
      c840774c
    • Kirill Smelkov's avatar
      X compilebench: Don't spend time on clang · 77f99dbc
      Kirill Smelkov authored
      It is close to gcc.
      77f99dbc
    • Kirill Smelkov's avatar
      X -> py3 compatible print · e74624d0
      Kirill Smelkov authored
      e74624d0
    • Kirill Smelkov's avatar
      X Cythonize in py2 mode · 99c75057
      Kirill Smelkov authored
      Previously it was failing with master:
      
      (neo) (z-dev) (g.env) kirr@deco:~/src/tools/py/cython/t/compilebench$ ./doit.sh
      /home/kirr/src/tools/py/cython/Cython/Compiler/Main.py:344: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /home/kirr/src/tools/py/cython/t/compilebench/pystone_pyxtest.py
        tree = Parsing.p_module(s, pxd, full_module_name)
      
      Error compiling Cython file:
      ------------------------------------------------------------
      ...
      TRUE = 1
      FALSE = 0
      
      def main(loops=LOOPS):
          benchtime, stones = pystones(loops)
          print "Pystone(%s) time for %d passes = %g" % \
               ^
      ------------------------------------------------------------
      
      pystone_pyxtest.py:62:10: Syntax error in simple statement list
      99c75057
    • Kirill Smelkov's avatar
      Merge branch 'master' into x/compilebench · 1c5d9006
      Kirill Smelkov authored
      * master: (280 commits)
        Fix compilation in PyPy.
        Update changelog.
        Revert "Disable "c_api_binop_methods" directive in 0.29.x and provide it only as an enabled forward option."
        Disable "c_api_binop_methods" directive in 0.29.x and provide it only as an enabled forward option.
        Update changelog.
        Use Py_SET_SIZE() and Py_SET_REFCNT() on Python 3.9.0a4 and newer (GH-3639)
        Update changelog.
        Use Py_SET_SIZE() and Py_SET_REFCNT() on Python 3.9.0a4 and newer (GH-3639)
        Limited API updates and cleanup for #2056. GH-3635)
        Update changelog.
        Update changelog.
        Emit an error when typeid() is used outside of C++ mode (GH-3637)
        Fix overflow handling for abs() calls on signed integer types (GH-3634)
        Update changelog.
        Fix overflow handling for abs() calls on signed integer types (GH-3634)
        Fix handling of "no-cpp" test tag for error tests, where "cpp" is already removed from the list of test backends.
        Update changelog.
        Avoid "uninitialised" warnings for sizeof and typeid (GH-3631)
        Emit an error when typeid() is used outside of C++ mode (GH-3637)
        Fix handling of "no-cpp" test tag for error tests, where "cpp" is already removed from the list of test backends.
        ...
      1c5d9006
  2. 27 May, 2020 10 commits
  3. 26 May, 2020 16 commits
  4. 25 May, 2020 3 commits