Skip to content

Commit 900d4c3

Browse files
chore(release): 0.3.0 [skip ci]
# [0.3.0](v0.2.0...v0.3.0) (2022-08-02) ### Features * **collection:** add or property to conditionally execute chain operations ([dc4fb79](dc4fb79)) <details> <summary>View benchmarks</summary> - `db.get` (1000k records): - **native** `Array.prototype.find()`: 116 ops/s - **newton** without PK: 2 ops/s - **newton** with pk: 15205 ops/s - `db.find` (1000k records): - **native** `Array.prototype.find()`: 113 ops/s - **newton** without PK: 6 ops/s - **newton** with pk: 74274 ops/s - `new Newton()`: - 1k records: 4401 ops/s - 10k records: 381 ops/s - 100k records: 9 ops/s - 1000k records: 1 ops/s </details>
1 parent dc4fb79 commit 900d4c3

File tree

3 files changed

+33
-3
lines changed

3 files changed

+33
-3
lines changed

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,33 @@
1+
# [0.3.0](https://github.com/alexberriman/newtondb/compare/v0.2.0...v0.3.0) (2022-08-02)
2+
3+
4+
### Features
5+
6+
* **collection:** add or property to conditionally execute chain operations ([dc4fb79](https://github.com/alexberriman/newtondb/commit/dc4fb79297edf21ec79d302373763b787f881cac))
7+
8+
9+
10+
11+
12+
<details>
13+
<summary>View benchmarks</summary>
14+
15+
- `db.get` (1000k records):
16+
- **native** `Array.prototype.find()`: 116 ops/s
17+
- **newton** without PK: 2 ops/s
18+
- **newton** with pk: 15205 ops/s
19+
- `db.find` (1000k records):
20+
- **native** `Array.prototype.find()`: 113 ops/s
21+
- **newton** without PK: 6 ops/s
22+
- **newton** with pk: 74274 ops/s
23+
- `new Newton()`:
24+
- 1k records: 4401 ops/s
25+
- 10k records: 381 ops/s
26+
- 100k records: 9 ops/s
27+
- 1000k records: 1 ops/s
28+
29+
</details>
30+
131
# Changelog
232

333
## [0.2.0](https://github.com/alexberriman/newtondb/compare/v0.1.2...v0.2.0) (2022-07-26)

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "newtondb",
3-
"version": "0.2.0",
3+
"version": "0.3.0",
44
"description": "A simple, easy to use and extendible JSON database.",
55
"main": "index.js",
66
"types": "index.d.ts",

0 commit comments

Comments
 (0)