You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains 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
efps — editor "frames per second". The number of updates assumed to be possible within a second.
Derived from input latency. efps = 1000 / input_latency
Detailed information
🏠 Reference result
The performance result of sanity@latest
Benchmark
latency
p75
p90
p99
blocking time
test duration
article (title)
61ms
66ms
75ms
250ms
555ms
14.9s
article (body)
16ms
20ms
29ms
282ms
423ms
6.0s
article (string inside object)
56ms
58ms
67ms
222ms
318ms
8.5s
article (string inside array)
67ms
70ms
90ms
233ms
941ms
9.6s
recipe (name)
34ms
37ms
57ms
73ms
6ms
9.3s
recipe (description)
30ms
33ms
36ms
62ms
0ms
6.0s
recipe (instructions)
7ms
9ms
10ms
25ms
0ms
3.4s
synthetic (title)
68ms
71ms
80ms
396ms
1525ms
15.0s
synthetic (string inside object)
67ms
74ms
88ms
350ms
1325ms
10.4s
🧪 Experiment result
The performance result of this branch
Benchmark
latency
p75
p90
p99
blocking time
test duration
article (title)
60ms
66ms
92ms
214ms
497ms
13.8s
article (body)
18ms
20ms
33ms
116ms
313ms
6.2s
article (string inside object)
56ms
58ms
66ms
210ms
330ms
8.3s
article (string inside array)
67ms
72ms
100ms
300ms
1106ms
9.8s
recipe (name)
34ms
37ms
60ms
74ms
1ms
8.6s
recipe (description)
30ms
32ms
36ms
64ms
0ms
6.0s
recipe (instructions)
6ms
8ms
10ms
23ms
0ms
3.4s
synthetic (title)
67ms
72ms
80ms
361ms
1409ms
15.5s
synthetic (string inside object)
65ms
68ms
75ms
446ms
1596ms
10.0s
📚 Glossary
column definitions
benchmark — the name of the test, e.g. "article", followed by the label of the field being measured, e.g. "(title)".
latency — the time between when a key was pressed and when it was rendered. derived from a set of samples. the median (p50) is shown to show the most common latency.
p75 — the 75th percentile of the input latency in the test run. 75% of the sampled inputs in this benchmark were processed faster than this value. this provides insight into the upper range of typical performance.
p90 — the 90th percentile of the input latency in the test run. 90% of the sampled inputs were faster than this. this metric helps identify slower interactions that occurred less frequently during the benchmark.
p99 — the 99th percentile of the input latency in the test run. only 1% of sampled inputs were slower than this. this represents the worst-case scenarios encountered during the benchmark, useful for identifying potential performance outliers.
blocking time — the total time during which the main thread was blocked, preventing user input and UI updates. this metric helps identify performance bottlenecks that may cause the interface to feel unresponsive.
test duration — how long the test run took to complete.
christianhg
changed the title
refactor(core): set up network connection listener in PortableTextInput
refactor(core): remove PTE connection event handling
Nov 18, 2024
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.
Currently, PTE emits a connection event whenever it goes offline and online.
However, I don't believe this logic belongs inside PTE:
https://github.com/portabletext/editor/blob/main/packages/editor/src/editor/editor-machine.ts#L41-L60
At the same time, Studio already does an even better job at making sure to mark
fields as
readOnly
when it detects that it's offline.