Skip to content

Conversation

@eoghanmurray
Copy link
Contributor

See #1339 - perf: remove a nested function call and an object clone per event

@changeset-bot
Copy link

changeset-bot bot commented Apr 9, 2024

🦋 Changeset detected

Latest commit: 542b34c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 8 packages
Name Type
rrweb Patch
rrweb-snapshot Patch
rrdom Patch
rrdom-nodejs Patch
rrweb-player Patch
@rrweb/types Patch
@rrweb/web-extension Patch
rrvideo Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@eoghanmurray eoghanmurray force-pushed the event-single-wrap branch 3 times, most recently from d62ea9a to a93eccd Compare April 10, 2024 13:56
@eoghanmurray
Copy link
Contributor Author

427acff removed the timestamp from the 'event' type and added the 'eventWithTime' .
with this change, 'event' is now called 'eventWithoutTime'

in future I'm also thinking of renaming eventWithTime to just event (or rrEvent)

@eoghanmurray eoghanmurray merged commit ae6908d into rrweb-io:master Apr 19, 2024
billyvg pushed a commit to getsentry/rrweb that referenced this pull request Apr 19, 2024
…sion (rrweb-io#1441)

performance: remove a nested function call and an object clone during event emission

 - rename `event` to `eventWithoutTime`, but maintain backwards compatibility
 - `eventWithTime` (with time) could be renamed to `event` in a future version

This is an extension of PR rrweb-io#1339 authored by: mydea <[email protected]>
billyvg pushed a commit to getsentry/rrweb that referenced this pull request Apr 19, 2024
…sion (rrweb-io#1441)

performance: remove a nested function call and an object clone during event emission

 - rename `event` to `eventWithoutTime`, but maintain backwards compatibility
 - `eventWithTime` (with time) could be renamed to `event` in a future version

This is an extension of PR rrweb-io#1339 authored by: mydea <[email protected]>
billyvg pushed a commit to getsentry/rrweb that referenced this pull request Apr 19, 2024
…sion (rrweb-io#1441)

performance: remove a nested function call and an object clone during event emission

 - rename `event` to `eventWithoutTime`, but maintain backwards compatibility
 - `eventWithTime` (with time) could be renamed to `event` in a future version

This is an extension of PR rrweb-io#1339 authored by: mydea <[email protected]>
jaj1014 pushed a commit to pendo-io/rrweb that referenced this pull request Apr 30, 2024
…sion (rrweb-io#1441)

performance: remove a nested function call and an object clone during event emission

 - rename `event` to `eventWithoutTime`, but maintain backwards compatibility
 - `eventWithTime` (with time) could be renamed to `event` in a future version

This is an extension of PR rrweb-io#1339 authored by: mydea <[email protected]>
jxiwang pushed a commit to amplitude/rrweb that referenced this pull request Jul 31, 2024
…sion (rrweb-io#1441)

performance: remove a nested function call and an object clone during event emission

 - rename `event` to `eventWithoutTime`, but maintain backwards compatibility
 - `eventWithTime` (with time) could be renamed to `event` in a future version

This is an extension of PR rrweb-io#1339 authored by: mydea <[email protected]>
jxiwang pushed a commit to amplitude/rrweb that referenced this pull request Oct 16, 2024
…sion (rrweb-io#1441)

performance: remove a nested function call and an object clone during event emission

 - rename `event` to `eventWithoutTime`, but maintain backwards compatibility
 - `eventWithTime` (with time) could be renamed to `event` in a future version

This is an extension of PR rrweb-io#1339 authored by: mydea <[email protected]>
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.

2 participants