-
Notifications
You must be signed in to change notification settings - Fork 2
docs: update README with Google Colab benchmark results (7x faster) #34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
github-actions
merged 13 commits into
msgflux:main
from
vilsonrodrigues:docs/update-readme-with-colab-results
Dec 3, 2025
Merged
docs: update README with Google Colab benchmark results (7x faster) #34
github-actions
merged 13 commits into
msgflux:main
from
vilsonrodrigues:docs/update-readme-with-colab-results
Dec 3, 2025
Conversation
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
- Complete project structure overview - Common commands and workflows - Release process (always use ./scripts/release.sh) - Architecture details and optimizations - Linting, testing, and CI/CD guides - Troubleshooting tips This file provides context for Claude Code to work more effectively with the project without repeating instructions.
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
…start Replace python-dotenv dependency with custom-built fast_dotenv.py parser, achieving significant performance improvements while maintaining full compatibility. Performance improvements: - Cold start: 0.39ms (5.0x faster than pydantic, was 1.5x) - Warm cached: 0.012ms (267x faster than pydantic, was 112x) - Cache effectiveness: 29.7x internal speedup Key changes: - Add fast_dotenv.py (170 lines, zero dependencies) - Remove python-dotenv from dependencies - Update settings.py to use fast_dotenv - Add 59 comprehensive tests for fast_dotenv - Clean up duplicate code in settings.py - Update README with new performance numbers Technical details: - UTF-8 BOM support - Escape sequences parsing (\n, \t, etc) - Export keyword handling - Strict variable name validation (isidentifier) - Global caching for repeated loads - Optimized string operations with local references All 81 tests passing (22 settings + 59 fast_dotenv) Zero external dependencies added (removed 1)
Change chmod from 0o644 (world-readable) to 0o600 (owner-only) in test_file_permission_error cleanup to address CodeQL security warning. The permission test still passes with owner-only permissions.
- Fix import sorting and organization - Replace single quotes with double quotes for consistency - Remove trailing whitespace from blank lines - Fix quote escaping in test strings - Format long lines and dictionaries for better readability - Apply consistent formatting across test files All ruff checks now pass successfully.
- Update performance numbers with real Google Colab benchmark results - Cold start: 7.0x faster (0.353ms vs 2.47ms) - Warm cache: 169x faster (0.011ms vs 1.86ms) - Add note about benchmarking on Google Colab for reproducibility - Update key advantages table with new performance numbers - Highlight 7x faster performance and drop-in API compatibility in features - Fix 'ultra high' to 'high' for consistency
… improvements - Update performance numbers with real Google Colab benchmark results - Cold start: 7.0x faster (0.353ms vs 2.47ms) - Warm cache: 169x faster (0.011ms vs 1.86ms) - Featured highlights: Highlight for 7x superior performance and drop-in API - Include benchmark improvements and consistency fixes
Contributor
Author
|
/merge |
|
✅ PR merged successfully by @vilsonrodrigues! |
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.
Summary
Benchmark Results (Google Colab)
Cold start (first load, includes .env parsing):
Warm (cached) (repeated loads):
Changes
🤖 Generated with Claude Code