Instead of the pure Go implementation of SQLite, swap in the cgo library from mattn/go-sqlite3. On local testing this cuts the SQL query times in half for the History modal (from 400ms per page to 150ms) and may improve performance in production.
56 lines
2.4 KiB
Modula-2
56 lines
2.4 KiB
Modula-2
module git.kirsle.net/apps/barertc
|
|
|
|
go 1.21.0
|
|
|
|
toolchain go1.22.0
|
|
|
|
require (
|
|
git.kirsle.net/go/log v0.0.0-20200902035305-70ac2848949b
|
|
github.com/BurntSushi/toml v1.3.2
|
|
github.com/aichaos/rivescript-go v0.4.0
|
|
github.com/edwvee/exiffix v0.0.0-20210922235313-0f6cbda5e58f
|
|
github.com/golang-jwt/jwt/v4 v4.5.0
|
|
github.com/google/uuid v1.5.0
|
|
github.com/mattn/go-shellwords v1.0.12
|
|
github.com/mattn/go-sqlite3 v1.14.24
|
|
github.com/microcosm-cc/bluemonday v1.0.25
|
|
github.com/pelletier/go-toml/v2 v2.2.3
|
|
github.com/shurcooL/github_flavored_markdown v0.0.0-20210228213109-c3a9aa474629
|
|
github.com/urfave/cli/v2 v2.25.7
|
|
golang.org/x/image v0.12.0
|
|
nhooyr.io/websocket v1.8.7
|
|
)
|
|
|
|
require (
|
|
github.com/aymerick/douceur v0.2.0 // indirect
|
|
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
|
|
github.com/disintegration/imaging v1.6.2 // indirect
|
|
github.com/dlclark/regexp2 v1.10.0 // indirect
|
|
github.com/dop251/goja v0.0.0-20230919151941-fc55792775de // indirect
|
|
github.com/go-sourcemap/sourcemap v2.1.3+incompatible // indirect
|
|
github.com/google/pprof v0.0.0-20230926050212-f7f687d19a98 // indirect
|
|
github.com/gorilla/css v1.0.0 // indirect
|
|
github.com/klauspost/compress v1.17.0 // indirect
|
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
|
github.com/russross/blackfriday v1.6.0 // indirect
|
|
github.com/russross/blackfriday/v2 v2.1.0 // indirect
|
|
github.com/rwcarlsen/goexif v0.0.0-20190401172101-9e8deecbddbd // indirect
|
|
github.com/sergi/go-diff v1.3.1 // indirect
|
|
github.com/shurcooL/go v0.0.0-20200502201357-93f07166e636 // indirect
|
|
github.com/shurcooL/go-goon v1.0.0 // indirect
|
|
github.com/shurcooL/highlight_diff v0.0.0-20230708024848-22f825814995 // indirect
|
|
github.com/shurcooL/highlight_go v0.0.0-20230708025100-33e05792540a // indirect
|
|
github.com/shurcooL/octicon v0.0.0-20230705024016-66bff059edb8 // indirect
|
|
github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect
|
|
github.com/sourcegraph/annotate v0.0.0-20160123013949-f4cad6c6324d // indirect
|
|
github.com/sourcegraph/syntaxhighlight v0.0.0-20170531221838-bd320f5d308e // indirect
|
|
github.com/tomnomnom/xtermcolor v0.0.0-20160428124646-b78803f00a7e // indirect
|
|
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect
|
|
golang.org/x/crypto v0.13.0 // indirect
|
|
golang.org/x/net v0.15.0 // indirect
|
|
golang.org/x/sys v0.15.0 // indirect
|
|
golang.org/x/term v0.12.0 // indirect
|
|
golang.org/x/text v0.13.0 // indirect
|
|
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
|
|
)
|