Skip to content

Comments

chore: Separate modules for resource backend#376

Merged
gtema merged 1 commit intomainfrom
resources-split-backend
Nov 17, 2025
Merged

chore: Separate modules for resource backend#376
gtema merged 1 commit intomainfrom
resources-split-backend

Conversation

@phiphi282
Copy link
Collaborator

Reduce code size of the sql.rs file by splitting the individual resource into separate modules.

@github-actions
Copy link

github-actions bot commented Nov 17, 2025

🐰 Bencher Report

Branchresources-split-backend
Testbedubuntu-latest
Click to view all benchmark results
BenchmarkLatencyBenchmark Result
nanoseconds (ns)
(Result Δ%)
Upper Boundary
nanoseconds (ns)
(Limit %)
fernet token/project📈 view plot
🚷 view threshold
1,466.50 ns
(+20.66%)Baseline: 1,215.38 ns
1,547.00 ns
(94.80%)
get_fernet_token_timestamp/project📈 view plot
🚷 view threshold
155.13 ns
(-2.59%)Baseline: 159.26 ns
230.38 ns
(67.34%)
🐰 View full continuous benchmarking report in Bencher

@github-actions
Copy link

github-actions bot commented Nov 17, 2025

🦢 Load Test Results

Goose Attack Report

Plan Overview

Action Started Stopped Elapsed Users
Increasing 25-11-17 21:10:43 25-11-17 21:10:45 00:00:02 0 → 4
Maintaining 25-11-17 21:10:45 25-11-17 21:11:15 00:00:30 4
Decreasing 25-11-17 21:11:15 25-11-17 21:11:15 00:00:00 0 ← 4

Request Metrics

Method Name # Requests # Fails Average (ms) Min (ms) Max (ms) RPS Failures/s
GET 14398 0 7.83 6 15 479.93 0.00
Aggregated 14398 0 7.83 6 15 479.93 0.00

Response Time Metrics

Method Name 50%ile (ms) 60%ile (ms) 70%ile (ms) 80%ile (ms) 90%ile (ms) 95%ile (ms) 99%ile (ms) 100%ile (ms)
GET 8 8 8 8 8 9 10 15
Aggregated 8 8 8 8 8 9 10 15

Status Code Metrics

Method Name Status Codes
GET 14,398 [200]
Aggregated 14,398 [200]

Transaction Metrics

Transaction # Times Run # Fails Average (ms) Min (ms) Max (ms) RPS Failures/s
ListUsers
0.0 0 0 0.00 0 0 0.00 0.00
0.1 14398 0 7.86 6 15 479.93 0.00
Aggregated 14398 0 7.83 6 15 479.93 0.00

Scenario Metrics

Transaction # Users # Times Run Average (ms) Min (ms) Max (ms) Scenarios/s Iterations
ListUsers 4 14394 7.86 6 15 479.80 3598.50
Aggregated 4 14394 7.86 6 15 479.80 3598.50

Error Metrics

Method Name # Error

View full report

Reduce code size of the sql.rs file by splitting the individual resource
into separate modules.
@gtema gtema force-pushed the resources-split-backend branch from 3b67c2a to 0f1c70e Compare November 17, 2025 21:04
@gtema gtema enabled auto-merge (squash) November 17, 2025 21:06
@gtema gtema merged commit fe252b5 into main Nov 17, 2025
19 checks passed
@gtema gtema deleted the resources-split-backend branch December 8, 2025 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants