8000 Perf Optimizations by StephenGrider · Pull Request #651 · chalk/chalk · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Perf Optimizations #651

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

Closed
wants to merge 8 commits into from
Closed

Perf Optimizations #651

wants to merge 8 commits into from

Conversation

StephenGrider
Copy link
@StephenGrider StephenGrider commented Jun 20, 2025

Edit: Yes, I did in fact click the 'Create PR' button on Github without looking at the merge target.

StephenGrider and others added 8 commits June 20, 2025 16:29
…50460527907

Add Claude Code GitHub Workflow
…provements

- Cache style.open and style.close to reduce property access overhead
- Add configurable flag to Object.defineProperty for proper property redefinition
- Optimize createStyler with fast path for no parent scenario
- Improve template literal handling with dedicated fast path
- Add early returns for strings without escape codes or newlines
- Use indexOf checks instead of includes for better performance

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
< 683C div data-view-component="true" class="TimelineItem-body"> @StephenGrider StephenGrider deleted the perf branch June 20, 2025 23:05
@chalk chalk locked as spam and limited conversation to collaborators Jun 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0