Skip to content

Commit 57fcc7a

Browse files
committed
V4.0.4
1 parent b5cbd9a commit 57fcc7a

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

README.md

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ High-performance Python logging library with file rotation and optimized caching
2828
- [Memory Management](#memory-management)
2929
- [Flexible Configuration Options](#flexible-configuration-options)
3030
- [Migration Guide](#migration-guide)
31-
- [Performance Improvements](#performance-improvements)
3231
- [Development](#source-code)
3332
- [Run Tests and Get Coverage Report using Poe](#run-tests-and-get-coverage-report-using-poe)
3433
- [License](#license)
@@ -518,25 +517,6 @@ timed_logger = timed_rotating_logger(level=LogLevel.WARNING, name="app", directo
518517
- 🔧 **Cleaner API** without manual `.init()` calls
519518
- 📚 **Centralized configuration** through factory pattern
520519

521-
# Performance Improvements
522-
523-
## Benchmarks
524-
The factory pattern with optimizations provides significant performance improvements:
525-
526-
| Feature | Improvement | Benefit |
527-
|---------|-------------|---------|
528-
| Logger Registry | 90%+ faster | Cached logger instances |
529-
| Settings Caching | ~85% faster | Reused configuration objects |
530-
| Directory Validation | ~75% faster | Cached permission checks |
531-
| Timezone Operations | ~60% faster | Cached timezone functions |
532-
533-
## Performance Test Results
534-
```python
535-
# Create 100 loggers - Performance comparison
536-
# Legacy method: ~0.045 seconds
537-
# Factory pattern: ~0.004 seconds
538-
# Improvement: 91% faster ⚡
539-
```
540520

541521
# Source Code
542522
### Build
@@ -545,21 +525,17 @@ poetry build -f wheel
545525
```
546526

547527

548-
549528
# Run Tests and Get Coverage Report using Poe
550529
```shell
551530
poetry update --with test
552531
poe test
553532
```
554533

555534

556-
557535
# License
558536
Released under the [MIT License](LICENSE)
559537

560538

561-
562-
563539
# Buy me a cup of coffee
564540
+ [GitHub Sponsor](https://github.com/sponsors/ddc)
565541
+ [ko-fi](https://ko-fi.com/ddcsta)

0 commit comments

Comments
 (0)