Repository navigation
fonts: Panic less in platform/freetype - #40945
Conversation
|
🔨 Triggering try run (#19770103437) for Linux (Unit Tests, Build libservo, WPT, Bencher), Windows (Unit Tests, Build libservo), Android, OpenHarmony, Lint |
|
| Branch | 40945/PR |
| Testbed | HUAWEI Mate 60 Pro |
⚠️ WARNING: No Threshold found!Without a Threshold, no Alerts will ever be generated.
Click here to create a new Threshold
For more information, see the Threshold documentation.
To only post results if a Threshold exists, set the--ci-only-thresholdsflag.
Click to view all benchmark results
| Benchmark | Data | Measure (units) x 1e3 | Latency | seconds (s) | Memory | Bytes |
|---|---|---|---|---|---|---|
| release/E2E/file:///parse_from_string.html/ | 📈 view plot | 1.64 units x 1e3 | ||||
| release/E2E/https://www.google.com/JS/gc-heap/admin | 📈 view plot | 26,752.00 | ||||
| release/E2E/https://www.google.com/JS/gc-heap/decommitted | 📈 view plot | 409,600.00 | ||||
| release/E2E/https://www.google.com/JS/gc-heap/unused | 📈 view plot | 136,016.00 | ||||
| release/E2E/https://www.google.com/JS/gc-heap/used | 📈 view plot | 476,208.00 | ||||
| release/E2E/https://www.google.com/JS/malloc-heap | 📈 view plot | 5,053,023.00 | ||||
| release/E2E/https://www.google.com/JS/non-heap | 📈 view plot | 262,144.00 | ||||
| release/E2E/https://www.google.com/LayoutThread/box-tree | 📈 view plot | 108,744.00 | ||||
| release/E2E/https://www.google.com/LayoutThread/display-list | 📈 view plot | 0.00 | ||||
| release/E2E/https://www.google.com/LayoutThread/font-context | 📈 view plot | 9,288.00 | ||||
| release/E2E/https://www.google.com/LayoutThread/fragment-tree | 📈 view plot | 112.00 | ||||
| release/E2E/https://www.google.com/LayoutThread/stacking-context-tree | 📈 view plot | 14,080.00 | ||||
| release/E2E/https://www.google.com/LayoutThread/stylist | 📈 view plot | 5,504.00 | ||||
| release/E2E/https://www.google.com/image-cache | 📈 view plot | 2,328.00 | ||||
| release/E2E/https://www.google.com/resident-smaps | 📈 view plot | 375,476,224.00 | ||||
| release/E2E/https://www.servo.org/Load | 📈 view plot | 1.04 s | ||||
| release/E2E/https://www.servo.org/Resident | 📈 view plot | 390,241,484.00 | ||||
| release/E2E/https://www.servo.org/resident-smaps | 📈 view plot | 397,659,340.00 |
|
Test results for linux-wpt from try job (#19770103437): Flaky unexpected result (26)
Stable unexpected results that are known to be intermittent (24)
|
|
|
1be5b64 to
0edb209
Compare
|
🔨 Triggering try run (#19770867594) for Linux (Unit Tests, Build libservo, WPT, Bencher), Windows (Unit Tests, Build libservo), Android, OpenHarmony, Lint |
|
Test results for linux-wpt from try job (#19770867594): Flaky unexpected result (33)
Stable unexpected results that are known to be intermittent (33)
|
|
|
| if pattern.is_null() { | ||
| log::error!("Failed to create FcPattern"); | ||
| return; |
There was a problem hiding this comment.
I think for cases like in this function, we might want to have a macro that does a debug_assert, and something else (like return here) when debug-assertions are disabled. The reason being that if something is just an error message, it is much more likely to go unnoticed / unfixed, if everything else "still works". In the long term this can lead to many subtle issues.
There was a problem hiding this comment.
I'd prefer to not add a specific macro for this. I'll add a debug assert instead, like this:
debug_assert!(!pattern.is_null());
if pattern.is_null() {
log::error!("Failed to create FcPattern");
return;
}There was a problem hiding this comment.
That's also fine. I'm just wondering, since this might be a common pattern (in the future), if it would make sense to make a debug_assert_or_log! macro, to reduce code repetition.
0edb209 to
42112bd
Compare
|
🔨 Triggering try run (#19774488580) for Android |
42112bd to
4806137
Compare
|
|
4806137 to
2706bde
Compare
|
Apologies for the noise, I don't have the ohos toolchain installed myself... |
|
🔨 Triggering try run (#19870969597) for OpenHarmony |
|
✨ Try run (#19870969597) succeeded. |
88181f3 to
d889846
Compare
|
I rebase this and made the parsing of the XML files a little bit less forgiving. |
Signed-off-by: Simon Wülker <[email protected]>
d889846 to
719b606
Compare
Testing: Covered by existing tests
Part of #40744