Zodbshootout

Latest version: v0.7.0

Safety actively analyzes 681775 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.7.1

==================

- Nothing changed yet.

0.7.0

==================

- Drop support for Python 3.4.
- Add support for Python 3.7.
- The timing loops have been rewritten on top of `pyperf
<https://pyperf.readthedocs.io/en/latest/index.html>`_. This
produces much more reliable/stable, meaningful data with a richer set of
statistics information captured, and the ability to do analysis and
comparisons on data files captured after a run is complete. Some
command line options have changed as a result of this, and the
output no longer is in terms of "objects per second" but how long a
particular loop operation takes. See :issue:`37` and :issue:`35`.
- The timing data for in-process concurrency (gevent and threads)
attempts to take the concurrency into account to produce more
accurate results. See :issue:`38`.
- Add debug logging when we think we detect gevent-cooperative and
gevent-unaware databases in gevent mode.
- Add the ability to specify only certain subsets of benchmarks to run
on the command line. In particular, if you've already run the
``add`` benchmark once, you can run other benchmarks such as the
``cold`` benchmark again independently as many times as you want (as
long as you don't ``zap`` the database; that's not allowed).
- The benchmarks more carefully verify that they tested what they
wanted to. For example, they check that their Connection's load count
matches what it should be (0 in the case of the "steamin" test).
- Profiling in gevent mode captures the entire set of data in a single
file. See :issue:`33`.
- The ``--zap`` option accepts a ``force`` argument to eliminate the
prompts. See :issue:`36`.
- Multi-threaded runs handle exceptions and signals more reliably.
Partial fix for :issue:`26`.
- Shared thread read tests clear the caches of connections and the
database in a more controlled way, more closely modeling the
expected behaviour. Previously the cache clearing was
non-deterministic. See :issue:`28`.
- When using gevent, use its Event and Queue implementations for
better cooperation with the event loop.
- Add ``--min-objects`` option to ensure that the underlying database
has at least a set number of objects in place. This lets us test
scaling issues and be more repeatable. This is tested with
FileStorage, ZEO, and RelStorage (RelStorage 2.1a2 or later is
needed for accurate results; earlier versions will add new objects
each time, resulting in database growth).
- Remove the unmaintained buildout configuration. See :issue:`25`.
- Add an option to test the performance of blob storage. See
:issue:`29`.
- Add support for zapping file storages. See :issue:`43`.
- When zapping, do so right before running the 'add' benchmark. This
ensures that the databases are all the same size even when the same
underlying storage (e.g., MySQL databas) is used multiple times in a
configuration. Previously, the second and further uses of the same
storage would not be zapped and so would grow with the data from the
previous contender tests. See :issue:`42`.
- Add a benchmark for empty transaction commits. This tests the
storage synchronization --- in RelStorage, it tests polling the
RDBMS for invalidations. See :issue:`41`.
- Add support for using `vmprof <https://vmprof.readthedocs.io>`_ to
profile, instead of :mod:`cProfile`. See :issue:`34`.

0.6.0

==================

This is a major release that focuses on providing more options to fine
tune the testing process that are expected to be useful to both
deployers and storage authors.

A second major focus has been on producing more stable numeric
results. As such, the results from this version *are not directly
comparable* to results obtained from a previous version.

Platforms
---------

- Add support for Python 3 (3.4, 3.5 and 3.6) and PyPy. Remove support
for Python 2.6 and below.
- ZODB 4 and above are the officially supported versions. ZODB 3 is no
longer tested but may still work.

Incompatible Changes
--------------------

- Remove support for Python 2.6 and below.
- The old way of specifying concurrency levels with a comma separated
list is no longer supported.

Command Line Tool
-----------------

The help output and command parsing has been much improved.

- To specify multiple concurrency levels, specify the ``-c`` option
multiple times. Similarly, to specify multiple object counts,
specify the ``-n`` option multiple times. (For example, ``-c 1 -c 2 -n 100
-n 200`` would run four comparisons). The old way of separating numbers with
commas is no longer supported.
- Add the ``--log`` option to enable process logging. This is useful
when using zodbshootout to understand changes in a single storage.
- Add ``--zap`` to rebuild RelStorage schemas on startup. Useful when
switching between Python 2 and Python 3.
- The reported numbers should be more stable, thanks to running
individual tests more times (via the ``--test-reps`` option) and
taking the mean instead of the min.
- Add ``--dump-json`` to write a JSON representation of more detailed
data than is present in the default CSV results.


Test Additions
--------------

- Add support for testing with BTrees (``--btrees``). This is
especially helpful for comparing CPython and PyPy, and is also
useful for understanding BTree behaviour.
- Add support for testing using threads instead of multiprocessing
(``--threads``). This is especially helpful on PyPy or when testing
concurrency of a RelStorage database driver and/or gevent. Databases
may be shared or unique for each thread.
- Add support for setting the repetition count (``--test-reps``). This
is especially helpful on PyPy.
- Use randomized data for the objects instead of a constant string.
This lets us more accurately model effects due to compression at the
storage or network layers.
- When gevent is installed, add support for testing with the system
monkey patched (``--gevent``). (Note: This might not be supported by all storages.)
- Add ``--leaks`` to use `objgraph <http://mg.pov.lt/objgraph/>`_ to
show any leaking objects at the end of each test repetition. Most
useful to storage and ZODB developers.

Other
-----

- Enable continuous integration testing on Travis-CI and coveralls.io.
- Properly clear ZEO caches on ZODB5. Thanks to Jim Fulton.
- Improve installation with pip. Extras are provided to make testing
RelStorage as easy as testing FileStorage and ZEO.
- The documentation is now hosted at http://zodbshootout.readthedocs.io/

0.5

================

- Updated to MySQL 5.1.65, PostgreSQL 9.1.5, memcached 1.4.15,
and libmemcached 1.0.10.

- Moved development to github.

0.4

================

- Added the --object-size parameter.

0.3

================

- Updated to memcached 1.4.5, libmemcached 0.40, and pylibmc 1.1+.

- Updated to PostgreSQL 8.4.4.

- Updated to MySQL 5.1.47 and a new download url - the old was giving 401's.

Page 1 of 2

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.