Skip to content

Commit

Permalink
Version 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
noteflakes committed Feb 9, 2024
1 parent b294595 commit 73860dc
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 5 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# 2.7 2024-02-09

- Improve progress handler API, add mode, period, tick options, global progress
handler. [#68](https://github.com/digital-fabric/extralite/pull/68)
- Rework `Database#initialize` options
- Add argv row mode (for passing column values as argv)
- Streamline and improve query methods
[#67](https://github.com/digital-fabric/extralite/pull/67)
- Implement row transforms

# 2.6 2024-01-23

- Implement changeset API.
Expand Down
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ latest features and enhancements.
- [Getting Started](#getting-started)
- [Query Modes](#query-modes)
- [Parameter binding](#parameter-binding)
- [Value Transforms](#value-transforms)
- [Data Types](#data-types)
- [Prepared Queries](#prepared-queries)
- [Batch Execution of Queries](#batch-execution-of-queries)
Expand Down Expand Up @@ -1207,7 +1208,8 @@ large number of rows.

### Rows as Hashes

[Benchmark source code](https://github.com/digital-fabric/extralite/blob/main/test/perf_hash.rb)
[Benchmark source
code](https://github.com/digital-fabric/extralite/blob/main/test/perf_hash.rb)

|Row count|sqlite3 1.7.0|Extralite 2.5|Advantage|
|-:|-:|-:|-:|
Expand All @@ -1217,7 +1219,8 @@ large number of rows.

### Rows as Arrays

[Benchmark source code](https://github.com/digital-fabric/extralite/blob/main/test/perf_ary.rb)
[Benchmark source
code](https://github.com/digital-fabric/extralite/blob/main/test/perf_ary.rb)

|Row count|sqlite3 1.7.0|Extralite 2.5|Advantage|
|-:|-:|-:|-:|
Expand All @@ -1227,7 +1230,8 @@ large number of rows.

### Prepared Queries (Prepared Statements)

[Benchmark source code](https://github.com/digital-fabric/extralite/blob/main/test/perf_hash_prepared.rb)
[Benchmark source
code](https://github.com/digital-fabric/extralite/blob/main/test/perf_hash_prepared.rb)

|Row count|sqlite3 1.7.0|Extralite 2.5|Advantage|
|-:|-:|-:|-:|
Expand All @@ -1238,7 +1242,10 @@ large number of rows.
As those benchmarks show, Extralite is capabale of reading up to 2.4M rows per
second, and can be more than 14 times faster than the `sqlite3` gem.

Note that the benchmarks above were performed on synthetic data, in a single-threaded environment, with the GVL release threshold set to -1, which means that both Extralite and the `sqlite3` gem hold the GVL for the duration of the query.
Note that the benchmarks above were performed on synthetic data, in a
single-threaded environment, with the GVL release threshold set to -1, which
means that both Extralite and the `sqlite3` gem hold the GVL for the duration of
the query.

## License

Expand Down
2 changes: 1 addition & 1 deletion lib/extralite/version.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module Extralite
# Extralite version
VERSION = '2.6'
VERSION = '2.7'
end

0 comments on commit 73860dc

Please sign in to comment.