Skip to content

Commit e025b8c

Browse files
perf(webapp-server): opt for build over run time (hoppscotch#5644)
Co-authored-by: James George <[email protected]>
1 parent 05927f3 commit e025b8c

File tree

33 files changed

+977
-2932
lines changed

33 files changed

+977
-2932
lines changed

devenv.lock

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"devenv": {
44
"locked": {
55
"dir": "src/modules",
6-
"lastModified": 1761922975,
6+
"lastModified": 1764669403,
77
"owner": "cachix",
88
"repo": "devenv",
9-
"rev": "c9f0b47815a4895fadac87812de8a4de27e0ace1",
9+
"rev": "3f2d25e7af748127da0571266054575dd8fec5ab",
1010
"type": "github"
1111
},
1212
"original": {
@@ -24,10 +24,10 @@
2424
"rust-analyzer-src": "rust-analyzer-src"
2525
},
2626
"locked": {
27-
"lastModified": 1762238689,
27+
"lastModified": 1764658058,
2828
"owner": "nix-community",
2929
"repo": "fenix",
30-
"rev": "0f94d1e67ea9ef983a9b5caf9c14bc52ae2eac44",
30+
"rev": "12bd9c7bcbeb949741b3ad0ca2b3506d0718cf4d",
3131
"type": "github"
3232
},
3333
"original": {
@@ -60,10 +60,10 @@
6060
]
6161
},
6262
"locked": {
63-
"lastModified": 1760663237,
63+
"lastModified": 1763988335,
6464
"owner": "cachix",
6565
"repo": "git-hooks.nix",
66-
"rev": "ca5b894d3e3e151ffc1db040b6ce4dcc75d31c37",
66+
"rev": "50b9238891e388c9fdc6a5c49e49c42533a1b5ce",
6767
"type": "github"
6868
},
6969
"original": {
@@ -80,10 +80,10 @@
8080
]
8181
},
8282
"locked": {
83-
"lastModified": 1709087332,
83+
"lastModified": 1762808025,
8484
"owner": "hercules-ci",
8585
"repo": "gitignore.nix",
86-
"rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
86+
"rev": "cb5e3fdca1de58ccbc3ef53de65bd372b48f567c",
8787
"type": "github"
8888
},
8989
"original": {
@@ -94,10 +94,10 @@
9494
},
9595
"nixpkgs": {
9696
"locked": {
97-
"lastModified": 1762156382,
97+
"lastModified": 1764611609,
9898
"owner": "NixOS",
9999
"repo": "nixpkgs",
100-
"rev": "7241bcbb4f099a66aafca120d37c65e8dda32717",
100+
"rev": "8c29968b3a942f2903f90797f9623737c215737c",
101101
"type": "github"
102102
},
103103
"original": {
@@ -122,10 +122,10 @@
122122
"rust-analyzer-src": {
123123
"flake": false,
124124
"locked": {
125-
"lastModified": 1762201112,
125+
"lastModified": 1764603480,
126126
"owner": "rust-lang",
127127
"repo": "rust-analyzer",
128-
"rev": "132d3338f4526b5c71046e5dc7ddf800e279daf4",
128+
"rev": "f25db5500baa047106d74962fe361ea59ce6f91e",
129129
"type": "github"
130130
},
131131
"original": {
@@ -142,10 +142,10 @@
142142
]
143143
},
144144
"locked": {
145-
"lastModified": 1762223900,
145+
"lastModified": 1764643237,
146146
"owner": "oxalica",
147147
"repo": "rust-overlay",
148-
"rev": "cfe1598d69a42a5edb204770e71b8df77efef2c3",
148+
"rev": "e66d6b924ac59e6c722f69332f6540ea57c69233",
149149
"type": "github"
150150
},
151151
"original": {

devenv.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ in {
6464
e.exec = "emacs";
6565
lima-setup.exec = "limactl start template://docker";
6666
lima-clean.exec = "limactl rm -f $(limactl ls -q)";
67-
colima-start.exec = "colima start --cpu 4 --memory 50";
67+
colima-start.exec = "colima start --cpu 8 --memory 50";
6868

6969
docker-prune.exec = ''
7070
echo "Cleaning up unused Docker resources..."

packages/hoppscotch-selfhost-web/.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,8 @@ dist-ssr
2727
.sitemap-gen
2828

2929
# Backend Code generation
30-
src/api/generated
30+
src/api/generated
31+
32+
# webapp-server
33+
webapp-server/webapp-server
34+
webapp-server/.webapp-server
Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,5 @@
1-
# Devenv
2-
.devenv*
3-
devenv.local.nix
1+
# compiled binary
2+
webapp-server
43

5-
# direnv
6-
.direnv
7-
8-
# pre-commit
9-
.pre-commit-config.yaml
10-
11-
/target/
12-
13-
/gen/schemas
14-
15-
.env
16-
17-
bundles
18-
19-
trust/
20-
21-
site/
4+
# dev mode key directory
5+
.webapp-server/

0 commit comments

Comments
 (0)