Skip to content
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

Lightening Fast #267

Merged
merged 1 commit into from
Aug 9, 2024
Merged

Lightening Fast #267

merged 1 commit into from
Aug 9, 2024

Conversation

ingalls
Copy link
Member

@ingalls ingalls commented Aug 9, 2024

Context

From:
Screenshot from 2024-08-08 18-24-01

To:
image

Absolutely enourmous speedup that is due to the cost of creating moment date objects. The moment library has been removed completey from the re-render/diff code in favour of two unix timestamps being created - one for the current time, and one for the stale time of each COT which are then compared. Average time in the update loop went from ~300ms to ~50-75ms

@ingalls ingalls merged commit 2ffd32f into main Aug 9, 2024
7 checks passed
@ingalls ingalls deleted the significant-speed branch August 9, 2024 01:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant