Skip to content

Commit 817c126

Browse files
authored
Merge pull request #8 from JerilynFranz/tests
0.9.5 release * benchmarks * uv support * tests tweaking
2 parents 1bf1ccd + ba292f7 commit 817c126

24 files changed

Lines changed: 5581 additions & 736 deletions

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ bazel-python-gen-tries
1717
# lcov
1818
genhtml
1919

20+
# .benchmarks files
21+
.benchmarks
22+
histogram
23+
2024
# scalene
2125
profile.html
2226
profile.json

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.10

.vscode/launch.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,14 @@
44
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
55
"version": "0.2.0",
66
"configurations": [
7-
Python
8-
9-
107
{
118
"name": "Python Debugger: Current File",
129
"type": "debugpy",
1310
"request": "launch",
1411
"program": "${file}",
1512
"console": "integratedTerminal",
1613
"cwd": "${workspaceFolder}",
17-
// "env": {"PYTHONPATH": "${workspaceFolder}/src:${env:PYTHONPATH}"}
14+
"env": {"PYTHONPATH": "${workspaceFolder}/src:${workspaceFolder}/tests:${env:PYTHONPATH}"}
1815
}
1916
]
2017
}

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@
2626
* 0.9.2 - Refactor of exceptions and test code to use tagged exceptions. Seperation of testspecs testing framework into seperate file. First iteration of benchmarking code.
2727
* 0.9.3 - Addition of coverage support. Tests for traversal.py. pytest support. Test orchestration using pytest-order and pytest-dependency. Fixed TrieValueError export.
2828
* 0.9.4 - Addition of tests for is_triekeytoke(), is_hashable(), get() methods and for TrieEntry(). Fixed bugs in TrieEntry __eq__ and __hash__ dunder methods. Rewrote __getitem__ and __contains__ dunder tests, added __delitem__ dunder tests. Excluded test_play.py and testspec.py from coverage measurements. Changed Nodes class to use __slots__ for attributes. Added tuplization of keys when creating TrieEntrys' to aid in immutability preservation.
29+
* 0.9.5 - Benchmarking code, addition of py.typed for type support

bench/bench_performance.py

100644100755
Lines changed: 158 additions & 38 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)