13 Commits

Author SHA1 Message Date
Neil
55dd352320 Update unittest method names to work with Python 3.12. 2023-11-05 12:13:32 +11:00
Neil
481b5651df Fix some warnings from ruff. 2023-03-15 09:45:15 +11:00
Neil
85dd43cb42 Detangle ASCII and multi-byte code for case-insenstive UTF-8 searches.
This avoids some work for the common case of ASCII text, which can reduce time
taken for search in text that is ASCII or almost-all ASCII by 30%.
Ensures that the bytes variable is always initialized.
There are a small gains possible by making other minor changes but they would
increase code length and add complexity.
Add performance test for UTF-8 search in almost-all ASCII document.
Increase size of test cases for more consistent results on faster computers.
2022-12-02 09:48:42 +11:00
Neil
2e30b0e2a1 Remove XiteQt.py as ScintillaEditPy is no longer included in Scintilla
and the required PySide library no longer supported.
2021-11-12 14:33:18 +11:00
Neil
c16dc29844 Update Python versions for files that may involve PySide on Linux which requires
Python 2 still. On Windows, Python3 is used.
2020-04-17 20:26:40 +10:00
Neil
e16b365fa1 Check for perf_counter before using as not available on Python 2 used for PySide
on Linux.
2018-04-18 08:48:37 +10:00
Neil
652f4c0471 Switch performance tests to more accurate timer. 2018-04-18 08:23:06 +10:00
Neil
7f87ee309f Fix to work on more versions of Python. 2013-07-08 21:28:41 +10:00
Neil
32483ae48a Add tests for searching performance. 2013-07-07 11:58:05 +10:00
Neil
cebba91edb Implemented tests for Qt on Linux. 2013-07-05 13:48:22 +10:00
nyamatongwe
b8500b3f26 Using 'from __future__ import unicode_literals' to make work on Python 2.7. 2011-07-25 14:15:06 +10:00
nyamatongwe
8e12be32e9 Added README and increased duration of performance tests for more accuracy. 2009-05-12 23:55:30 +00:00
nyamatongwe
77e5724a36 Include tests in standard repository. 2009-05-12 23:39:51 +00:00