Skip to content

Experiment towards sync#11459

Closed
erights wants to merge 3 commits into
kris-sync-endo-2025-06-06-01-23-47from
markm-experiment-towards-sync
Closed

Experiment towards sync#11459
erights wants to merge 3 commits into
kris-sync-endo-2025-06-06-01-23-47from
markm-experiment-towards-sync

Conversation

@erights

@erights erights commented Jun 10, 2025

Copy link
Copy Markdown
Member

#endo-branch: master

Staged on #11451

closes: #XXXX
refs: #11451

Description

Security Considerations

Scaling Considerations

Documentation Considerations

Testing Considerations

Upgrade Considerations

@erights erights self-assigned this Jun 10, 2025
@erights erights changed the base branch from master to kris-sync-endo-2025-06-06-01-23-47 June 10, 2025 23:18
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 10, 2025

Copy link
Copy Markdown

Deploying agoric-sdk with  Cloudflare Pages  Cloudflare Pages

Latest commit: fe707b0
Status:🚫  Build failed.

View logs

@kriskowal kriskowal force-pushed the kris-sync-endo-2025-06-06-01-23-47 branch 3 times, most recently from 35bd61d to e5d2354 Compare June 12, 2025 02:43
erights added a commit that referenced this pull request Jun 16, 2025
@erights

erights commented Jun 17, 2025

Copy link
Copy Markdown
Member Author

experiment not currently actionable. Closing.

@erights erights closed this Jun 17, 2025
erights added a commit to endojs/endo that referenced this pull request Jun 24, 2025
Closes: #XXXX
Refs: Agoric/agoric-sdk#11497 

## Description

Experiment with possible endo speedups. This was originally motivated to
try for fewer benchmark errors in
Agoric/agoric-sdk#11497 vs
Agoric/agoric-sdk#11459 . However, the relevant
bottleneck for those, while still not diagnosed, is not addressed or
affected by this PR.

Nevertheless, according to @gibson042 's comment at
#2860 (review)
below

> This change has minor impact in V8, but Object(value) must be very
slow in XS because the speedup there is significant.

Since we care most of all about performance in XS, this change is worth
it.


### Security Considerations

none
### Scaling Considerations

No change to complexity measure, so no change to "scaling" per se. But
more colloquially, we include in "scaling" a significant performance
improvement.

### Documentation Considerations

In light of @gibson042 's suggestion below, this PR will deprecate
`isObject`, export `isPrimitive` as the inverted replacement, because
the name is clearer, and will switch all current callers of `isObject`
to call `isPrimitive` instead. This should be reflected in the generated
typedoc commentary.

### Testing Considerations

None.

### Compatibility Considerations

Because we're only deprecating `isObject`, and because we make no change
to its observable behavior, none.

### Upgrade Considerations

- [ ] Update `NEWS.md` with `isPrimitive` and the deprecation of
`isObject`.
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