]> Cypherpunks.ru repositories - pyderasn.git/blobdiff - doc/features.rst
New performance measurements
[pyderasn.git] / doc / features.rst
index 76d6830d3913f6872ae1a2f25608f5a9d1916515..c83b64c22da7539583eceb1f38db13db6a8ebc46 100644 (file)
@@ -1,3 +1,5 @@
+.. _features:
+
 Features
 ========
 
@@ -47,33 +49,10 @@ Also there is `asn1crypto <https://github.com/wbond/asn1crypto>`__.
   automatically set required tags)
 * Descriptive errors, like ``pyderasn.DecodeError: UTCTime
   (tbsCertificate:validity:notAfter:utcTime) (at 328) invalid UTCTime format``
-* ``__slots__``, ``copy.copy()``, ``pickle``, `Cython <https://cython.org/>`__
-  friendliness
-* Could be significantly faster and have lower memory usage
-  For example parsing of CACert.org's CRL (8.48 MiB) on FreeBSD 12.0
-  amd64, Intel Core i5-6200U 2.3 GHz machine, Python 3.5.5/2.7.15:
-
-  .. list-table::
-     :widths: 15 45 20 20
-     :header-rows: 1
-
-     * - Library
-       - Command
-       - Time, sec (Py3/Py2)
-       - Memory used, MiB (Py3/Py2)
-     * - pyasn1 0.4.5
-       - ``der_decode(data, asn1Spec=rfc5280.CertificateList())``
-       - 1257 / 1302
-       - 1327 / 2093
-     * - asn1crypto 0.24.0
-       - ``asn1crypto.crl.CertificateList.load(data).native``
-       - 29.3 / 43.8
-       - 983 / 1677
-     * - pyderasn 4.9
-       - ``CertificateList().decode(data)`` (CertificateList is
-         converted ``pyasn1`` scheme definition)
-       - 27.6 / 32.5
-       - 498 / 488
+* ``__slots__``, ``copy.copy()`` friendliness
+* Workability with ``pickle``
+* `Cython <https://cython.org/>`__ compatibility
+* Could be significantly :ref:`faster <performance>` and have lower memory usage
 * :ref:`Pretty printer <pprinting>` and
   :ref:`command-line decoder <cmdline>`, that could
   conveniently replace utilities like either ``dumpasn1`` or