diff --git a/html5ever/benches/html5ever.rs b/html5ever/benches/html5ever.rs index f74b13a7..62b3cc6b 100644 --- a/html5ever/benches/html5ever.rs +++ b/html5ever/benches/html5ever.rs @@ -80,6 +80,8 @@ fn html5ever_benchmark(c: &mut Criterion) { run_bench(c, "small-fragment.html"); run_bench(c, "tiny-fragment.html"); run_bench(c, "strong.html"); + run_bench(c, "servo.org.html"); + run_bench(c, "servo.org-custom.html"); } criterion_group!(benches, html5ever_benchmark); diff --git a/html5ever/data/bench/servo.org-custom.html b/html5ever/data/bench/servo.org-custom.html new file mode 100644 index 00000000..b60a438d --- /dev/null +++ b/html5ever/data/bench/servo.org-custom.html @@ -0,0 +1,676 @@ + + + + + + + + Servo aims to empower developers with a lightweight, high-performance alternative for embedding web technologies in applications. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Get Involved + + + + + Contributing + + + + Servo Book + + + + WPT pass rates + + + + Code of Conduct + + + + + + + + + + Download + + + + + + + Blog + + + + + + + Demos + + + + + + + + + About + + + + + About Servo + + + + Made with Servo + + + + Governance + + + + Sponsorship + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + const hamburger = document.getElementById('hamburgerMenu'); + const menu = document.getElementById('navbar-menu'); + + const toggleMenu = () => { + const isExpanded = hamburger.getAttribute('aria-expanded') === 'true'; + hamburger.setAttribute('aria-expanded', !isExpanded); + menu.classList.toggle('is-active', isExpanded); + }; + + // Toggle on click + hamburger.addEventListener('click', toggleMenu); + + + + + + + + + + Servo aims to empower developers with a lightweight, high-performance alternative for embedding web technologies in applications. + + + Get Involved + Donate + + + + + + + + + Servo is a web browser rendering engine written in Rust, with WebGL and WebGPU support, and adaptable to desktop, mobile, and embedded applications. + + + + + Embeddable + Servo provides a WebView API so other applications can use it to embed web content. + + + + Memory-safe + Servo takes advantage of the memory safety features of the Rust programming language, resulting in fewer vulnerabilities related to memory and concurrency. + + + + Modular + Built with a modular architecture and powered by widely-used Rust crates, Servo makes it easier to customize and adapt a high-performance browser engine to your needs. + + + + + + Parallel + Servo uses concurrency and parallelism for faster and more energy-efficient rendering of web content on multi-core devices. + + + + Cross platform + Servo has multi-platform support, including Windows, macOS, Linux, Android, and OpenHarmony. In addition, Servo can be ported and adapted to embedded devices. + + + + Independent + Servo is a project managed with open governance under Linux Foundation Europe through our Technical Steering Committee. + + + + + + + + Latest on the blog + + + + 2026-10-09 + August in Servo: CSS Grid, text selection, and more! + Plus accessibility and navigation improvements. + + + + + 2026-09-15 + Your Donations at Work: One Year of Sponsored Servo Development + Looking back on Servo's first donation-funded role. + + + + + 2026-08-31 + July in Servo: more platforms, faster canvas, web fonts in SVG, and more! + Plus real world compat improvements on the DuckDuckGo and Gumroad websites. + + + + + 2026-07-31 + June in Servo: real world compat, media queries, SharedWorker, and more! + We now have a new way for you to help us write the monthly updates :) + + + View older posts + + + + + + + Acknowledgements + + The Servo project is dependent on outside funding. We would like to thank our partnering organizations that have recently invested in Servo and our sponsors who have made donations to Servo through one of the sponsorship tiers. + We are very grateful to all our patrons who contribute monetarily to support the project via Open Collective, GitHub, thanks.dev, and Benevity. + + + + + + + Partners + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Bronze Sponsors + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Josh Aas + + + + + + + + Julius Tens + + + + + + + + Niclas Overby + + + + + + + + + + + + + + + + + + + + + + + + str4d + + + + + + + + + + + + + + + + + + + + We would like to thank GitHub, Zulip, and AWS Open Source for providing their services free of charge for use in the Servo project. + For information about how to sponsor the project, visit the sponsorship page. + + + + + + + + + +.logos-home { + list-style: none; + display: flex; + flex-wrap: wrap; + padding: 0.5rem 1rem; + max-width: 64rem; + align-items: center; + justify-content: center; +} + +.partner-img, .sponsor-img { + max-height: 15rem; + margin-inline: auto; + padding: 3.25rem 2rem; +} +.sponsor-gold .sponsor-img { + max-height: 11rem; + padding: 2.25rem 1.5rem; +} +.sponsor-silver .sponsor-img { + max-height: 7rem; + padding: 1.75rem 1rem; +} +.sponsor-bronze .sponsor-img { + max-height: 5rem; + padding: 1.25rem 0.5rem; +} + +.logos-home > li { + flex: 0 0 50%; + text-align: center; + font-size: var(--step-3); + font-weight: bold; +} +.logos-home > li.sponsor-gold { + flex: 0 0 33%; + font-size: var(--step-2); +} +.logos-home > li.sponsor-silver { + flex: 0 0 25%; + font-size: var(--step-1); +} +.logos-home > li.sponsor-bronze { + flex: 0 0 25%; + font-size: var(--step-0); +} + +@media (max-width: 720px) { + .partner-img, .sponsor-img { + max-height: 9rem; + padding: 2rem 1rem; + } + .sponsor-gold .sponsor-img { + max-height: 7rem; + padding: 1.5rem 0.75rem; + } + .sponsor-silver .sponsor-img { + max-height: 5rem; + padding: 1rem 0.5rem; + } + .sponsor-bronze .sponsor-img { + max-height: 3rem; + padding: 0.5rem 0.25rem; + } + + .logos-home > li { + flex: 0 0 90%; + } + .logos-home > li.sponsor-gold { + flex: 0 0 50%; + } + + .logos-home > li:first-child { + padding-top: 1.25rem; + } +} + +.inner-container__logos { + border: 1px solid var(--midturquoise); + max-width: 800px; + margin-left: auto; + margin-right: auto; + margin-bottom: 1.25rem; + border-radius: 32px; +} + +.inner-container__logos h3 { + border-bottom: 1px solid var(--midturquoise); + padding-top: var(--12px); + padding-bottom: var(--12px); + font-size: var(--step-1); +} + + + + + + + +.acknowledgements { + text-align: center; +} + +.acknowledgements__container { + width: 100%; +} + +.acknowledgements__container p { + margin: 0 auto; + padding-bottom: 1.25rem; +} + + + + + + + + + Contact + + + + Zulip chat + GitHub discussions + Email: [email protected] + Mastodon + Bluesky + + + + + + + + + + + + © 2026 The Servo Project Developers + Copyright © Servo is a project of Linux Foundation Europe. + For website terms of use, trademark policy and other project policies please see https://lfprojects.org. + The source code for this website can be found at https://github.com/servo/servo.org. + + + Code of Conduct + + + + + + + (() => { + const burger = document.querySelector(".navbar-burger"); + const menu = document.querySelector(".navbar-menu"); + burger.onclick = () => { + burger.classList.toggle('is-active'); + menu.classList.toggle('is-active'); + }; + })(); + + + + + diff --git a/html5ever/data/bench/servo.org.html b/html5ever/data/bench/servo.org.html new file mode 100644 index 00000000..4825c297 --- /dev/null +++ b/html5ever/data/bench/servo.org.html @@ -0,0 +1,676 @@ + + + + + + + Servo aims to empower developers with a lightweight, high-performance alternative for embedding web technologies in applications. + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+ Home +

+ Servo aims to empower developers with a lightweight, high-performance alternative for embedding web technologies in applications. +

+ +
+
+ +
+
+
+

+ Servo is a web browser rendering engine written in Rust, with WebGL and WebGPU support, and adaptable to desktop, mobile, and embedded applications. +

+
+
+ +

Embeddable

+

Servo provides a WebView API so other applications can use it to embed web content.

+
+
+ +

Memory-safe

+

Servo takes advantage of the memory safety features of the Rust programming language, resulting in fewer vulnerabilities related to memory and concurrency.

+
+
+ +

Modular

+

Built with a modular architecture and powered by widely-used Rust crates, Servo makes it easier to customize and adapt a high-performance browser engine to your needs.

+
+
+
+
+ +

Parallel

+

Servo uses concurrency and parallelism for faster and more energy-efficient rendering of web content on multi-core devices.

+
+
+ +

Cross platform

+

Servo has multi-platform support, including Windows, macOS, Linux, Android, and OpenHarmony. In addition, Servo can be ported and adapted to embedded devices.

+
+
+ +

Independent

+

Servo is a project managed with open governance under Linux Foundation Europe through our Technical Steering Committee.

+
+
+
+
+
+
+
+

Latest on the blog

+
+
+
+ 2026-10-09 +

August in Servo: CSS Grid, text selection, and more!

+

Plus accessibility and navigation improvements.

+
+
+
+
+ 2026-09-15 +

Your Donations at Work: One Year of Sponsored Servo Development

+

Looking back on Servo's first donation-funded role.

+
+
+
+
+ 2026-08-31 +

July in Servo: more platforms, faster canvas, web fonts in SVG, and more!

+

Plus real world compat improvements on the DuckDuckGo and Gumroad websites.

+
+
+
+
+ 2026-07-31 +

June in Servo: real world compat, media queries, SharedWorker, and more!

+

We now have a new way for you to help us write the monthly updates :)

+
+
+ View older posts +
+
+
+
+
+
+

Acknowledgements

+
+

The Servo project is dependent on outside funding. We would like to thank our partnering organizations that have recently invested in Servo and our sponsors who have made donations to Servo through one of the sponsorship tiers.

+

We are very grateful to all our patrons who contribute monetarily to support the project via Open Collective, GitHub, thanks.dev, and Benevity. +

+
+
+
+
+
+

Partners

+ + + + + +
+ + + + + + +
+ + + + + + + + + + + + + +
+

Bronze Sponsors

+ + +
+ +
+ +
+
+

We would like to thank GitHub, Zulip, and AWS Open Source for providing their services free of charge for use in the Servo project.

+

For information about how to sponsor the project, visit the sponsorship page.

+
+
+ + +
+
+ + + +
+ + +
+
+
+ +
+
+ + + + diff --git a/rcdom/benches/deserialize-serialize.rs b/rcdom/benches/deserialize-serialize.rs index a07b5019..654f0444 100644 --- a/rcdom/benches/deserialize-serialize.rs +++ b/rcdom/benches/deserialize-serialize.rs @@ -73,6 +73,8 @@ fn paths() -> Vec { make_path("small-fragment.html"), make_path("tiny-fragment.html"), make_path("strong.html"), + make_path("servo.org.html"), + make_path("servo.org-custom.html"), ] }