Skip to content

Commit ddfc344

Browse files
committed
bumped version
1 parent 753ae54 commit ddfc344

2 files changed

Lines changed: 27 additions & 1 deletion

File tree

CHANGES.rst

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,32 @@
11
Changes
22
=======
33

4+
0.70.0
5+
------
6+
7+
We ran a profiler on the Piccolo codebase and identified some optimisations.
8+
For example, we were calling ``self.querystring`` multiple times in a method,
9+
rather than assigning it to a local variable.
10+
11+
We also ran a linter which identified when list / set / dict comprehensions
12+
could be more efficient.
13+
14+
The performance is now slightly improved (especially when fetching large
15+
numbers of rows from the database).
16+
17+
Example query times on a MacBook, when fetching 1000 rows from a local Postgres
18+
database (using ``await SomeTable.select()``):
19+
20+
* 8 ms without a connection pool
21+
* 2 ms with a connection pool
22+
23+
As you can see, having a connection pool is the main thing you can do to
24+
improve performance.
25+
26+
Thanks to @AliSayyah for all his work on this.
27+
28+
-------------------------------------------------------------------------------
29+
430
0.69.5
531
------
632

piccolo/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__VERSION__ = "0.69.5"
1+
__VERSION__ = "0.70.0"

0 commit comments

Comments
 (0)