Skip to content

Commit

Permalink
chore(release): 0.3.0 [skip ci]
Browse files Browse the repository at this point in the history
# [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>
  • Loading branch information
semantic-release-bot committed Aug 2, 2022
1 parent dc4fb79 commit 900d4c3
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 3 deletions.
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,33 @@
# [0.3.0](https://github.com/alexberriman/newtondb/compare/v0.2.0...v0.3.0) (2022-08-02)


### Features

* **collection:** add or property to conditionally execute chain operations ([dc4fb79](https://github.com/alexberriman/newtondb/commit/dc4fb79297edf21ec79d302373763b787f881cac))





<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>

# Changelog

## [0.2.0](https://github.com/alexberriman/newtondb/compare/v0.1.2...v0.2.0) (2022-07-26)
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "newtondb",
"version": "0.2.0",
"version": "0.3.0",
"description": "A simple, easy to use and extendible JSON database.",
"main": "index.js",
"types": "index.d.ts",
Expand Down

0 comments on commit 900d4c3

Please sign in to comment.