@signaltree/core 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +24 -25
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -559,35 +559,34 @@ class AppStateService {
559
559
 
560
560
  _Exceptional scaling: Only 92% performance overhead for 4x depth increase_
561
561
 
562
- ### Real-World Performance Results (Latest Comprehensive Analysis)
562
+ ### SignalTree Core Performance Results (Measured)
563
563
 
564
- | Operation | SignalTree Core | NgRx | Akita | Native Signals | **Improvement** |
565
- | --------------------------- | --------------- | ----- | ----- | -------------- | ---------------- |
566
- | Tree initialization (small) | **0.031ms** | 78ms | 65ms | 42ms | **6.7x faster** |
567
- | Tree initialization (large) | **0.745ms** | 450ms | 380ms | 95ms | **127x faster** |
568
- | Single update | **0.188ms** | 8ms | 6ms | 2ms | **15.9x faster** |
569
- | Nested update (5 levels) | **0.188ms** | 12ms | 10ms | 3ms | **15.9x faster** |
570
- | Computation (cached) | **0.094ms** | 3ms | 2ms | <1ms | **10.6x faster** |
571
- | Memory per 1K entities | **1.2MB** | 4.2MB | 3.5MB | 2.3MB | **71% less** |
564
+ | Operation | SignalTree Core | Notes |
565
+ | --------------------------- | --------------- | ---------------- |
566
+ | Tree initialization (small) | **0.031ms** | 27 nodes |
567
+ | Tree initialization (large) | **0.745ms** | 341 nodes |
568
+ | Single update | **0.188ms** | Property update |
569
+ | Nested update (5 levels) | **0.188ms** | Deep tree update |
570
+ | Computation (cached) | **0.094ms** | Memoized result |
571
+ | Memory per 1K entities | **1.2MB** | Measured usage |
572
572
 
573
573
  ### Advanced Performance Features
574
574
 
575
- | Feature | SignalTree Core | With Extensions | NgRx | Akita | **Advantage** |
576
- | ------------------- | --------------- | ---------------------- | ----- | ----- | ----------------- |
577
- | Batching efficiency | Standard | **455.8x improvement** | 1.2x | 1.5x | **455x better** |
578
- | Memoization speedup | Basic | **197.9x speedup** | N/A | 60% | **197x better** |
579
- | Memory efficiency | **89% less** | **95% less** | Base | Base | **Best-in-class** |
580
- | Bundle impact | **+5KB** | **+15KB max** | +50KB | +30KB | **70% smaller** |
581
-
582
- ### Developer Experience Metrics (Core Package)
583
-
584
- | Metric | SignalTree Core | NgRx | Akita | **Improvement** |
585
- | ----------------------- | --------------- | ----- | ------ | --------------- |
586
- | Lines of code (counter) | **4 lines** | 32 | 18 | **68-88% less** |
587
- | Files required | **1 file** | 4 | 3 | **75% fewer** |
588
- | Learning time | **5 minutes** | 45min | 20min | **9x faster** |
589
- | Time to productivity | **15 minutes** | 4hrs | 1.5hrs | **16x faster** |
590
- | Maintenance score | **9.2/10** | 3.8 | 6.5 | **2.4x better** |
575
+ | Feature | SignalTree Core | With Extensions | Notes |
576
+ | ------------------- | --------------- | ---------------------- | ---------------------- |
577
+ | Batching efficiency | Standard | **455.8x improvement** | vs non-batched |
578
+ | Memoization speedup | Basic | **197.9x speedup** | vs non-memoized |
579
+ | Memory efficiency | **Optimized** | **Further optimized** | Lazy signals + cleanup |
580
+ | Bundle impact | **+5KB** | **+15KB max** | Tree-shakeable |
581
+
582
+ ### Developer Experience (Core Package)
583
+
584
+ | Metric | SignalTree Core | Traditional State Mgmt | **Improvement** |
585
+ | ----------------------- | --------------- | ---------------------- | --------------- |
586
+ | Lines of code (counter) | **4 lines** | 18-32 lines | **68-88% less** |
587
+ | Files required | **1 file** | 3-4 files | **75% fewer** |
588
+ | Setup complexity | **Minimal** | Complex | **Simplified** |
589
+ | API surface | **Small** | Large | **Focused** |
591
590
 
592
591
  ### Memory Usage Comparison
593
592
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signaltree/core",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Lightweight, type-safe signal-based state management for Angular. Core package providing hierarchical signal trees, basic entity management, and async actions.",
5
5
  "peerDependencies": {
6
6
  "@angular/core": "^20.1.0"