mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-02 04:02:24 -06:00
[performance] Add further indexes to mitigate laggy queries (#586)
* start adding more indexes as a migration * update sqlite version
This commit is contained in:
parent
5ef41ba3f2
commit
f4b0d76cd4
236 changed files with 395899 additions and 195070 deletions
16
vendor/modernc.org/sqlite/Makefile
generated
vendored
16
vendor/modernc.org/sqlite/Makefile
generated
vendored
|
|
@ -53,6 +53,8 @@ build_all_targets:
|
|||
GOOS=linux GOARCH=arm go test -c -o /dev/null
|
||||
GOOS=linux GOARCH=arm64 go build -v ./...
|
||||
GOOS=linux GOARCH=arm64 go test -c -o /dev/null
|
||||
GOOS=linux GOARCH=ppc64le go build -v ./...
|
||||
GOOS=linux GOARCH=ppc64le go test -c -o /dev/null
|
||||
GOOS=linux GOARCH=riscv64 go build -v ./...
|
||||
GOOS=linux GOARCH=riscv64 go test -c -o /dev/null
|
||||
GOOS=linux GOARCH=s390x go build -v ./...
|
||||
|
|
@ -139,11 +141,17 @@ linux_arm64:
|
|||
CCGO_CPP=aarch64-linux-gnu-cpp TARGET_GOARCH=arm64 TARGET_GOOS=linux go generate 2>&1 | tee log-generate
|
||||
GOOS=linux GOARCH=arm64 go build -v ./...
|
||||
|
||||
# 3900x
|
||||
linux_ppc64le:
|
||||
@echo "Should be executed only on linux/amd64."
|
||||
CCGO_CPP=powerpc64le-linux-gnu-cpp TARGET_GOARCH=ppc64le TARGET_GOOS=linux go generate 2>&1 | tee log-generate
|
||||
GOOS=linux GOARCH=ppc64le go build -v ./...
|
||||
|
||||
# linux/riscv64
|
||||
linux_riscv64:
|
||||
@echo "Should be executed only on linux/riscv64."
|
||||
go generate 2>&1 | tee log-generate
|
||||
go build -v ./...
|
||||
@echo "Should be executed only on linux/amd64."
|
||||
CCGO_CPP=riscv64-linux-gnu-cpp TARGET_GOARCH=riscv64 TARGET_GOOS=linux go generate 2>&1 | tee log-generate
|
||||
GOOS=linux GOARCH=riscv64 go build -v ./...
|
||||
|
||||
# 3900x
|
||||
linux_s390x:
|
||||
|
|
@ -157,7 +165,7 @@ openbsd_amd64:
|
|||
go generate 2>&1 | tee log-generate
|
||||
go build -v ./...
|
||||
|
||||
generate_all_targets_on_linux_amd64: linux_amd64 linux_386 linux_arm linux_arm64 linux_s390x windows_amd64 #TODO windows_386
|
||||
generate_all_targets_on_linux_amd64: linux_amd64 linux_386 linux_arm linux_arm64 linux_s390x linux_ppc64le linux_riscv64 windows_amd64 #TODO windows_386
|
||||
gofmt -l -s -w .
|
||||
echo done
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue