perf: backend speed optimization - #107
Open
carldesbiens-ui wants to merge 2 commits into
Open
Conversation
added 2 commits
August 25, 2026 12:40
- Nav: smaller padding, smaller text on mobile - Hero: clamp() font sizes scale from 1.75rem on mobile to 4.8rem on desktop - Hero: reduced padding (pt-12 on mobile vs pt-32 on desktop) - Tools grid: 1 column on mobile, 2 on sm, 4 on lg - Prism: 240px on mobile, 340px on desktop - Steps/CTA/Footer: responsive padding - CTA buttons: responsive sizing - All text uses clamp() for smooth scaling Closes iii123iii#3
- MergeService: streaming with MemoryUsageSetting (avoid OOM on large merges) - StorageService: SUM query instead of loading all documents (N+1 fix) - DocumentRepository: added sumSizeBytesByOwnerId query - AppSettingsRepository: @Cacheable on findById (eliminates repeated DB hits) - CacheConfig: @EnableCaching with ConcurrentMapCacheManager - application.yml: HikariCP pool tuning (20 connections, idle timeout) - application.yml: Hibernate batch fetching (batch_size=30, default_batch_fetch_size=16) - Performance tests: regression tests for all optimizations Closes iii123iii#2
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #2 — Backend speed optimization
Changes
MemoryUsageSettingSUM(sizeBytes)query@CacheableonfindByIdbatch_size=30,default_batch_fetch_size=16@EnableCachingwithConcurrentMapCacheManagerPerformance tests
Added
PerformanceTest.javawith regression tests verifying:DocumentRepository.sumSizeBytesByOwnerIdexists (SUM query)AppSettingsRepository.findByIdis@CacheableCacheConfighas@EnableCachingMergeServiceuses streamingCloses #2