Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ FLAGS = -ldflags "\
-X github.com/fulldump/inceptiondb/bootstrap.VERSION=$(VERSION) \
"

export GOEXPERIMENT=jsonv2

test:
go test -cover ./...

Expand Down
6 changes: 3 additions & 3 deletions cmd/bench/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ Compile and run the command.
## Test inserts

```sh
GOEXPERIMENT=jsonv2 go run . --test insert --n 2_000_000 --workers 16
go run . --test insert --n 2_000_000 --workers 16
```

## Test patch

```sh
GOEXPERIMENT=jsonv2 go run . --test patch --n 100_000 --workers 16
```
go run . --test patch --n 100_000 --workers 16
```
5 changes: 3 additions & 2 deletions collection/collection.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import (
"bufio"
"bytes"
"encoding/json"
"encoding/json/jsontext"
json2 "encoding/json/v2"
"fmt"
"io"
"os"
Expand All @@ -14,6 +12,9 @@ import (
"sync/atomic"
"time"

json2 "github.com/go-json-experiment/json"
"github.com/go-json-experiment/json/jsontext"

"github.com/google/uuid"

"github.com/fulldump/inceptiondb/utils"
Expand Down
3 changes: 2 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
module github.com/fulldump/inceptiondb

go 1.25
go 1.25.2

require (
github.com/SierraSoftworks/connor v1.0.2
github.com/fulldump/apitest v1.3.0
github.com/fulldump/biff v1.3.0
github.com/fulldump/box v0.7.0
github.com/fulldump/goconfig v1.7.1
github.com/go-json-experiment/json v0.0.0-20250910080747-cc2cfa0554c3
github.com/google/btree v1.1.3
github.com/google/uuid v1.6.0
)
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ github.com/fulldump/box v0.7.0 h1:aaGVNDmEOzizQ+U9bLtL8ST7RA5mjpT9i9q9h84GgoE=
github.com/fulldump/box v0.7.0/go.mod h1:k1dcwIeNOar6zLlP9D8oF/4FjQeK8kAt7BtRUh/SrMg=
github.com/fulldump/goconfig v1.7.1 h1:KTaig5QRf7ysL/0Om1q+J4OyMXbtsg+nonPY5SB+DUg=
github.com/fulldump/goconfig v1.7.1/go.mod h1:qsSyOhlzhYkL2dJ3KWKxs1hX3Qv58Jzj8pRsIEkHmUY=
github.com/go-json-experiment/json v0.0.0-20250910080747-cc2cfa0554c3 h1:02WINGfSX5w0Mn+F28UyRoSt9uvMhKguwWMlOAh6U/0=
github.com/go-json-experiment/json v0.0.0-20250910080747-cc2cfa0554c3/go.mod h1:uNVvRXArCGbZ508SxYYTC5v1JWoz2voff5pm25jU1Ok=
github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
github.com/google/btree v1.1.3 h1:CVpQJjYgC4VbzxeGVHfvZrv1ctoYCAI8vbl07Fcxlyg=
github.com/google/btree v1.1.3/go.mod h1:qOPhT0dTNdNzV6Z/lhRX0YXUafgPLFUh+gZMl761Gm4=
Expand Down
3 changes: 3 additions & 0 deletions vendor/github.com/go-json-experiment/json/AUTHORS

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

3 changes: 3 additions & 0 deletions vendor/github.com/go-json-experiment/json/CONTRIBUTORS

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

27 changes: 27 additions & 0 deletions vendor/github.com/go-json-experiment/json/LICENSE

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

175 changes: 175 additions & 0 deletions vendor/github.com/go-json-experiment/json/README.md

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

Loading
Loading