<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Whatwg on StorageNews</title><link>https://storagenews.top/tags/whatwg/</link><description>Recent content in Whatwg on StorageNews</description><generator>Hugo</generator><language>en</language><lastBuildDate>Fri, 27 Feb 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://storagenews.top/tags/whatwg/index.xml" rel="self" type="application/rss+xml"/><item><title>Streams are slow: Why 120x faster primitives matter</title><link>https://storagenews.top/posts/streams-are-slow-why-120x-faster-primitives-matter/</link><pubDate>Fri, 27 Feb 2026 00:00:00 +0000</pubDate><guid>https://storagenews.top/posts/streams-are-slow-why-120x-faster-primitives-matter/</guid><description>&lt;!-- wp:html -->
&lt;meta charset="utf-8">
&lt;style>
/* Platform CSS v3.0 */
:root {
 --primary-color: #4285f4;
 --primary-dark: #0057cc;
 --success-color: #34a853;
 --warning-color: #fbbc05;
 --error-color: #ea4335;
 --text-primary: #333333;
 --text-secondary: #666666;
 --text-light: #888888;
 --border-color: #e0e0e0;
 --background-light: #f8f9fa;
 --background-card: #ffffff;
 --background-code: #f5f5f5;
 --spacing-xs: 0.5rem;
 --spacing-sm: 1rem;
 --spacing-md: 1.5rem;
 --spacing-lg: 2rem;
 --border-radius: 8px;
 --border-radius-sm: 4px;
 --box-shadow: 0 2px 8px rgba(0,0,0,0.08);
 --box-shadow-hover: 0 4px 16px rgba(0,0,0,0.12);
}
.section-title {
 color: var(--text-primary);
 margin: var(--spacing-lg) 0 var(--spacing-sm);
 font-size: clamp(1.2rem, 3vw, 1.4rem);
 font-weight: 600;
 line-height: 1.3;
}
.subsection-title {
 color: var(--text-primary);
 margin: var(--spacing-md) 0 var(--spacing-xs);
 font-size: clamp(1.1rem, 2.5vw, 1.2rem);
 font-weight: 600;
}
.std-text {
 font-size: 1rem;
 line-height: 1.6;
 margin-bottom: var(--spacing-sm);
 color: var(--text-primary);
}
.card {
 border: 1px solid var(--border-color);
 padding: var(--spacing-sm);
 background: var(--background-card);
 border-radius: var(--border-radius);
 margin-bottom: var(--spacing-md);
 box-shadow: var(--box-shadow);
 transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
 transform: translateY(-2px);
 box-shadow: var(--box-shadow-hover);
}
.emoji-list {
 font-size: 1rem;
 line-height: 1.7;
 margin-bottom: 0.8rem;
 padding: 0.8rem 0;
 border-bottom: 1px solid var(--border-color);
 color: var(--text-primary);
}
.emoji-list:last-child { border-bottom: none; }
.emoji-list strong { color: var(--primary-color); font-weight: 600; }
.table-container {
 width: 100%;
 overflow-x: auto;
 margin-bottom: var(--spacing-md);
 border-radius: var(--border-radius);
 box-shadow: var(--box-shadow);
}
.table-container + .table-container {
 margin-top: 1.5rem;
}
.data-table {
 width: 100%;
 min-width: 600px;
 border-collapse: collapse;
 background: white;
}
.data-table th, .data-table td {
 padding: var(--spacing-sm);
 border: 1px solid var(--border-color);
 font-size: 0.9rem;
 text-align: left;
}
.data-table th {
 background: var(--primary-color);
 color: white;
 font-weight: 700;
 white-space: nowrap;
}
.data-table td:first-child { font-weight: 700; }
.data-table tbody tr:nth-child(even) { background: #f8f9ff; }
.data-table tbody tr:nth-child(even) td { background: #f8f9ff !important; }
.data-table tbody tr:nth-child(odd) td { background: white !important; }
.data-table tr:hover td { background: #e8f0fe !important; }
.responsive-img {
 max-width: 100%;
 height: auto;
 border-radius: var(--border-radius);
 box-shadow: var(--box-shadow);
}
figure {
 margin: var(--spacing-lg) auto;
 text-align: center;
 width: 100%;
 max-width: 100%;
 display: block;
}
figure img { margin: 0 auto; display: block; max-width: 100%; height: auto; }
.img-caption {
 font-size: 0.9rem;
 color: var(--text-secondary);
 text-align: center;
 margin-top: var(--spacing-xs);
 font-style: italic;
}
.responsive-list {
 padding-left: 1.5rem;
 margin: var(--spacing-sm) 0;
 line-height: 1.7;
}
.responsive-list li { margin-bottom: var(--spacing-xs); padding-left: 0.5rem; }
.responsive-list a { color: var(--primary-color); text-decoration: none; font-weight: 600; }
.responsive-list a:hover { color: var(--primary-dark); text-decoration: underline; }
.callout { display:flex; gap:16px; padding:20px; border-radius:12px; margin:24px 0; border-left:4px solid; }
.callout-icon { font-size:24px; flex-shrink:0; }
.callout-content { flex:1; }
.callout-expert { background:#f0f7ff; border-color:#2563eb; }
.callout-info { background:#f0fdf4; border-color:#16a34a; }
.callout-warning { background:#fffbeb; border-color:#d97706; }
.faq-section {
 margin: var(--spacing-lg) 0;
 padding: var(--spacing-lg) 0;
 border-top: 2px solid var(--border-color);
}
.faq-section-title {
 color: var(--text-primary);
 font-size: clamp(1.2rem, 3vw, 1.4rem);
 font-weight: 700;
 margin-bottom: var(--spacing-lg);
 text-align: center;
}
.faq-item {
 background: var(--background-card);
 border: 1px solid var(--border-color);
 border-radius: var(--border-radius);
 margin-bottom: var(--spacing-sm);
 overflow: hidden;
 transition: all 0.3s ease;
}
.faq-item:hover {
 border-color: var(--primary-color);
 box-shadow: var(--box-shadow-hover);
 transform: translateY(-2px);
}
.faq-question {
 background: var(--background-light);
 padding: var(--spacing-sm) var(--spacing-md);
 cursor: pointer;
 position: relative;
 transition: all 0.3s ease;
 border: none;
 width: 100%;
 text-align: left;
 font-family: inherit;
}
.faq-question:hover { background: #e8f0fe; }
.faq-question-text {
 color: var(--text-primary);
 font-size: 1rem;
 font-weight: 600;
 line-height: 1.5;
 margin: 0;
 padding-right: 2rem;
}
.faq-answer {
 max-height: 0;
 overflow: hidden;
 transition: max-height 0.4s ease, padding 0.4s ease;
 padding: 0 var(--spacing-md);
}
.faq-item.active .faq-answer {
 max-height: 1000px;
 padding: 0 var(--spacing-md) var(--spacing-md);
}
.faq-answer-text {
 color: var(--text-secondary);
 font-size: 1rem;
 line-height: 1.7;
 margin: var(--spacing-sm) 0 0;
}
.about-section {
 background: var(--background-light);
 border-left: 4px solid var(--primary-color);
 border-radius: var(--border-radius);
 padding: var(--spacing-md) var(--spacing-lg);
 margin: var(--spacing-lg) 0;
}
.about-section .std-text {
 color: var(--text-secondary);
 font-size: 0.95rem;
 margin-bottom: 0;
}
.conclusion-section {
 border-top: 2px solid var(--border-color);
 padding-top: var(--spacing-lg);
 margin-top: var(--spacing-lg);
}
.conclusion-section .std-text {
 font-size: 1.05rem;
 line-height: 1.7;
}
@media (max-width: 768px) {
 .card { padding: 0.75rem; }
 .data-table { min-width: 100%; font-size: 0.8rem; }
 .data-table th, .data-table td { padding: 0.5rem 0.25rem; }
 .emoji-list { font-size: 0.95rem; }
}
@media (max-width: 480px) {
 .section-title { margin: var(--spacing-sm) 0 0.5rem; }
 .card { padding: 0.5rem; }
 .data-table th, .data-table td { padding: 0.4rem 0.2rem; font-size: 0.75rem; }
}
@media (prefers-reduced-motion: reduce) {
 *, *::before, *::after {
 animation-duration: 0.01ms !important;
 transition-duration: 0.01ms !important;
 }
}
&lt;/style>
&lt;!-- wp:html -->
&lt;style>
/* CSS переменные - обновленная палитра в стиле Rabata.io */
:root {
 /* Основные цвета (Rabata-inspired) */
 --primary-color: #2556BB;
 --primary-dark: #1a3d8a;
 --primary-light: rgba(37, 86, 187, 0.85);
 --accent-cyan: #8FE7F1;
 --success-color: #0CCB8D;
 --warning-color: #fbbc05;
 --error-color: #B82020;
 
 /* Текст и фон */
 --text-primary: #1B1B1B;
 --text-secondary: #666666;
 --text-light: #A4A59F;
 --background-main: #FFFFF5;
 --background-card: #ffffff;
 --background-code: #f5f5f5;
 --background-light: #f8f9fa;
 --warning-bg: #fff8f8;
 
 /* Границы */
 --border-color: #1B1B1B;
 --border-light: #D4D4D4;
 --border-radius: 8px;
 --border-radius-sm: 4px;
 --border-radius-lg: 40px;
 
 /* Отступы */
 --spacing-xs: 0.5rem;
 --spacing-sm: 1rem;
 --spacing-md: 1.5rem;
 --spacing-lg: 2rem;
 --spacing-xl: 3rem;
 
 /* Тени (Brutalist style) */
 --box-shadow: 3px 3px 0 0 var(--border-color);
 --box-shadow-hover: 4px 4px 0 0 var(--border-color);
 --box-shadow-soft: 0 2px 8px rgba(0,0,0,0.08);
 --box-shadow-soft-hover: 0 4px 16px rgba(0,0,0,0.12);
 
 /* Переходы */
 --transition-fast: all ease 0.15s;
 --transition-normal: all ease 0.3s;
}

/* Основные стили */
.article-marker {
 background: var(--primary-color);
 color: var(--background-main);
 text-align: center;
 padding: var(--spacing-sm);
 margin: var(--spacing-lg) 0;
 font-size: 1rem;
 font-weight: 700;
 border-radius: var(--border-radius-sm);
 border: 2px solid var(--border-color);
 box-shadow: var(--box-shadow);
 transition: var(--transition-normal);
}

.article-marker:hover {
 background: var(--primary-light);
 transform: translate(2px, 2px);
 box-shadow: 1px 1px 0 0 var(--border-color);
}

.main-title {
 margin-bottom: var(--spacing-md);
 font-size: clamp(1.5rem, 4vw, 2rem);
 font-weight: 700;
 color: var(--text-primary);
 line-height: 1.2;
 font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Tektur', sans-serif;
}

.section-title {
 color: var(--text-primary);
 margin: var(--spacing-lg) 0 var(--spacing-sm);
 font-size: clamp(1.2rem, 3vw, 1.4rem);
 font-weight: 600;
 line-height: 1.3;
 font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Tektur', sans-serif;
 padding-bottom: 0.5rem;
 border-bottom: 1px solid var(--border-light);
}

.subsection-title {
 color: var(--text-primary);
 margin: var(--spacing-md) 0 var(--spacing-xs);
 font-size: clamp(1.1rem, 2.5vw, 1.2rem);
 font-weight: 600;
 font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Tektur', sans-serif;
}

.std-text {
 font-size: 1rem;
 line-height: 1.6;
 margin-bottom: var(--spacing-sm);
 color: var(--text-primary);
 font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
}

/* Улучшенные карточки (Brutalist style) */
.card {
 border: 1px solid var(--border-color);
 padding: var(--spacing-md);
 background: var(--background-card);
 border-radius: var(--border-radius);
 margin-bottom: var(--spacing-md);
 box-shadow: var(--box-shadow);
 transition: var(--transition-normal);
 position: relative;
}

.card:hover {
 transform: translate(-2px, -2px);
 box-shadow: var(--box-shadow-hover);
}

.card::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 border-radius: var(--border-radius);
 padding: 1px;
 background: linear-gradient(135deg, var(--primary-color), var(--accent-cyan));
 -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
 -webkit-mask-composite: xor;
 mask-composite: exclude;
 opacity: 0;
 transition: var(--transition-normal);
}

.card:hover::before {
 opacity: 0.1;
}

.warning-box {
 border: 2px solid var(--error-color);
 padding: var(--spacing-md);
 background: var(--warning-bg);
 border-radius: var(--border-radius);
 margin-bottom: var(--spacing-lg);
 box-shadow: var(--box-shadow);
 position: relative;
}

.warning-box::before {
 content: '⚠️';
 position: absolute;
 top: -12px;
 left: var(--spacing-md);
 background: var(--warning-bg);
 padding: 0 0.5rem;
 font-size: 1.2rem;
}

.warning-title {
 color: var(--error-color);
 margin-bottom: var(--spacing-xs);
 margin-top: 0.5rem;
 font-weight: 700;
 font-size: 1.1rem;
 font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Tektur', sans-serif;
}

/* Emoji списки с улучшенными отступами */
.emoji-list {
 font-size: 1rem;
 line-height: 1.7;
 margin-bottom: 0.8rem;
 padding: 0.8rem 0;
 border-bottom: 1px solid var(--border-light);
 color: var(--text-primary);
 background: transparent;
 transition: var(--transition-fast);
}

.emoji-list:hover {
 background: var(--background-light);
 padding-left: var(--spacing-xs);
 border-left: 3px solid var(--primary-color);
}

.emoji-list:last-child {
 border-bottom: none;
 margin-bottom: 0;
}

.emoji-list strong {
 color: var(--primary-color);
 font-weight: 600;
}

/* Адаптивные таблицы (Brutalist borders) */
.table-container {
 width: 100%;
 overflow-x: auto;
 margin-bottom: var(--spacing-md);
 border-radius: var(--border-radius);
 box-shadow: var(--box-shadow);
 border: 1px solid var(--border-color);
}

.data-table {
 width: 100%;
 min-width: 600px;
 border-collapse: collapse;
 background: white;
}

.data-table th,
.data-table td {
 padding: var(--spacing-sm);
 border: 1px solid var(--border-color);
 font-size: 0.9rem;
 text-align: left;
}

.data-table th {
 background: var(--primary-color);
 color: var(--background-main);
 font-weight: 700;
 white-space: nowrap;
 font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Tektur', sans-serif;
}

.data-table td:first-child {
 font-weight: 600;
 font-size: 0.9rem;
 color: var(--text-primary);
}

.data-table tbody tr:nth-child(even) {
 background: #f8f9ff;
}

.data-table tbody tr:first-child {
 background: transparent !important;
 color: inherit !important;
}

.data-table tbody tr:first-child td {
 background: transparent !important;
 color: inherit !important;
}

.data-table tbody tr:nth-child(even) td {
 background: #f8f9ff !important;
}

.data-table tbody tr:nth-child(odd) td {
 background: white !important;
}

.data-table tr:hover td {
 background: #e8f0fe;
 transition: var(--transition-fast);
}

.data-table-caption {
 font-size: 0.9rem;
 color: var(--text-secondary);
 text-align: center;
 margin-top: var(--spacing-xs);
 font-style: italic;
 padding: var(--spacing-xs);
}

/* Улучшенные статус-теги (Brutalist style) */
.status-tag {
 display: inline-block;
 padding: 4px 12px;
 color: white;
 border-radius: 16px;
 font-size: 0.75rem;
 font-weight: 600;
 text-transform: uppercase;
 letter-spacing: 0.5px;
 box-shadow: 2px 2px 0 0 var(--border-color);
 border: 1px solid var(--border-color);
 transition: var(--transition-fast);
 font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Tektur', sans-serif;
}

.status-tag:hover {
 transform: translate(1px, 1px);
 box-shadow: 1px 1px 0 0 var(--border-color);
}

.status-green { 
 background: linear-gradient(135deg, var(--success-color), #2d8f47); 
 border-color: #2d8f47;
}

.status-blue { 
 background: linear-gradient(135deg, var(--primary-color), #3367d6); 
 border-color: var(--primary-dark);
}

.status-yellow { 
 background: linear-gradient(135deg, var(--warning-color), #f9ab00); 
 color: #333; 
 border-color: #f9ab00;
}

.status-red { 
 background: linear-gradient(135deg, var(--error-color), #d33b2c); 
 border-color: #d33b2c;
}

/* Адаптивные блоки кода (Brutalist borders) */
.code-block {
 font-family: 'Courier New', Consolas, Monaco, monospace;
 font-size: 0.85rem;
 background: var(--background-code);
 color: var(--text-primary);
 padding: var(--spacing-sm);
 border: 1px solid var(--border-color);
 border-radius: var(--border-radius);
 margin-bottom: var(--spacing-md);
 overflow-x: auto;
 line-height: 1.5;
 box-shadow: var(--box-shadow);
 position: relative;
}

.code-block::before {
 content: '&lt;/>';
 position: absolute;
 top: -10px;
 left: var(--spacing-sm);
 background: var(--background-code);
 padding: 0 0.5rem;
 font-size: 0.75rem;
 color: var(--text-secondary);
 font-weight: 600;
}

/* Адаптивные изображения */
.responsive-img {
 max-width: 100%;
 height: auto;
 border-radius: var(--border-radius);
 box-shadow: var(--box-shadow);
 border: 1px solid var(--border-light);
 transition: var(--transition-normal);
}

.responsive-img:hover {
 box-shadow: var(--box-shadow-hover);
 transform: translate(-2px, -2px);
}

.img-caption {
 font-size: 0.9rem;
 color: var(--text-secondary);
 text-align: center;
 margin-top: var(--spacing-xs);
 font-style: italic;
 padding: var(--spacing-xs);
 background: var(--background-light);
 border-radius: var(--border-radius-sm);
}

/* Адаптивные списки */
.responsive-list {
 padding-left: 1.5rem;
 margin: var(--spacing-sm) 0;
 line-height: 1.7;
}

.responsive-list li {
 margin-bottom: var(--spacing-xs);
 padding-left: 0.5rem;
 position: relative;
}

.responsive-list li::marker {
 color: var(--primary-color);
 font-weight: 600;
}

.responsive-list a {
 color: var(--primary-color);
 text-decoration: none;
 font-weight: 600;
 transition: var(--transition-fast);
 border-bottom: 1px solid transparent;
}

.responsive-list a:hover {
 color: var(--primary-dark);
 border-bottom-color: var(--primary-color);
}

/* Медиа-запросы для мобильных устройств */
@media (max-width: 768px) {
 .article-marker {
 font-size: 0.9rem;
 padding: 0.75rem;
 margin: var(--spacing-sm) 0;
 }

 .card, .warning-box {
 padding: 0.75rem;
 margin-bottom: var(--spacing-sm);
 box-shadow: 2px 2px 0 0 var(--border-color);
 }

 .card:hover {
 box-shadow: 1px 1px 0 0 var(--border-color);
 transform: translate(1px, 1px);
 }

 .data-table {
 min-width: 100%;
 font-size: 0.8rem;
 }

 .data-table th,
 .data-table td {
 padding: 0.5rem 0.25rem;
 }

 .status-tag {
 font-size: 0.7rem;
 padding: 3px 8px;
 box-shadow: 1px 1px 0 0 var(--border-color);
 }

 .code-block {
 font-size: 0.8rem;
 padding: 0.75rem;
 box-shadow: 2px 2px 0 0 var(--border-color);
 }

 .emoji-list {
 font-size: 0.95rem;
 line-height: 1.6;
 }

 .responsive-list {
 padding-left: 1rem;
 }

 .responsive-img {
 box-shadow: 2px 2px 0 0 var(--border-color);
 }
}

@media (max-width: 480px) {
 .section-title {
 margin: var(--spacing-sm) 0 0.5rem;
 font-size: 1.1rem;
 }

 .subsection-title {
 margin: var(--spacing-sm) 0 0.5rem;
 font-size: 1rem;
 }

 .card, .warning-box {
 padding: 0.5rem;
 border-radius: var(--border-radius-sm);
 }

 .data-table th,
 .data-table td {
 padding: 0.4rem 0.2rem;
 font-size: 0.75rem;
 }

 .code-block {
 font-size: 0.75rem;
 padding: 0.5rem;
 }

 .table-container {
 box-shadow: 2px 2px 0 0 var(--border-color);
 }
}

/* Улучшение доступности */
@media (prefers-reduced-motion: reduce) {
 .card, 
 .status-tag, 
 .responsive-list a,
 .article-marker,
 .responsive-img,
 .emoji-list {
 transition: none;
 }

 .card:hover,
 .status-tag:hover,
 .article-marker:hover,
 .responsive-img:hover {
 transform: none;
 }
}

/* Дополнительные утилиты в стиле Rabata */
.card-highlight {
 border-left: 4px solid var(--primary-color);
 background: linear-gradient(to right, rgba(37, 86, 187, 0.05), transparent);
}

.text-primary {
 color: var(--primary-color);
}

.border-brutal {
 border: 2px solid var(--border-color);
 box-shadow: var(--box-shadow);
}

.border-brutal:hover {
 box-shadow: var(--box-shadow-hover);
 transform: translate(-2px, -2px);
}
&lt;/style>
&lt;!-- /wp:html -->
&lt;style>:root{--text-primary:var(--text,#333333);--background-card:var(--bg-card,#ffffff);--background-light:var(--bg-subtle,#f8f9fa);--background-code:var(--bg-subtle,#f5f5f5);--border-color:var(--border,#e0e0e0)}&lt;/style>
&lt;!-- /wp:html -->
&lt;!-- wp:html -->
&lt;script type="application/ld+json">
{
 "@context": "https://schema.org",
 "@type": "FAQPage",
 "mainEntity": [
 {
 "@type": "Question",
 "name": "Why do Cloudflare Workers require streaming for large files?",
 "acceptedAnswer": {
 "@type": "Answer",
 "text": "Streaming prevents out-of-memory errors by managing data flow efficiently. Cloudflare Workers enforce a strict 128 MB memory limit, making this approach mandatory to avoid request failures during large file processing tasks."
 }
 },
 {
 "@type": "Question",
 "name": "What throughput speed does the native pipeThrough method achieve?",
 "acceptedAnswer": {
 "@type": "Answer",
 "text": "Native Web Stream pipeThrough throughput hits significant bottlenecks during processing. Benchmarks show it reaches only 630 MB/s with 1KB chunks, creating severe latency for high-volume server-side data applications."
 }
 },
 {
 "@type": "Question",
 "name": "How much CPU overhead does garbage collection add to streams?",
 "acceptedAnswer": {
 "@type": "Answer",
 "text": "Excessive promise allocations trigger heavy garbage collection cycles that slow performance. Minimal Garbage collection consumes 50% of available CPU resources, directly increasing infrastructure costs in serverless environments billed by compute duration."
 }
 },
 {
 "@type": "Question",
 "name": "Can alternative stream implementations outperform the current Web Streams API?",
 "acceptedAnswer": {
 "@type": "Answer",
 "text": "Alternative implementations leverage modern language primitives to drastically reduce processing time. Benchmarks show these solutions running up to 120x faster than the current Web Streams API across major runtimes like Node.js and Deno."
 }
 },
 {
 "@type": "Question",
 "name": "Why does the Web Streams API reject WebAssembly memory buffers?",
 "acceptedAnswer": {
 "@type": "Answer",
 "text": "The specification mandates immediate rejection of buffers backed by WebAssembly memory. This constraint exists because the buffer detachment model invalidates shared memory views, breaking zero-copy guarantees needed for high-performance computing pipelines."
 }
 }
 ]
}
&lt;/script>
&lt;!-- /wp:html -->
&lt;!-- wp:html -->
&lt;style>
.faq-section { margin: 24px 0; padding: 24px 0; border-top: 2px solid #e5e7eb; }
.faq-section-title { color: #1a1a1a; font-size: clamp(1.2rem, 3vw, 1.4rem); font-weight: 700; margin-bottom: 24px; text-align: center; }
.faq-item { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; margin-bottom: 12px; overflow: hidden; transition: all 0.3s ease; }
.faq-item:hover { border-color: #2563eb; box-shadow: 0 4px 6px rgba(0,0,0,0.05); transform: translateY(-2px); }
.faq-question { background: #f9fafb; padding: 12px 16px; cursor: pointer; position: relative; transition: all 0.3s ease; border: none; width: 100%; text-align: left; font-family: inherit; display: block; }
.faq-question:hover { background: #e8f0fe; }
.faq-question-text { color: #1a1a1a; font-size: 1rem; font-weight: 600; line-height: 1.5; margin: 0; padding-right: 2rem; display: inline-block; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; padding: 0 16px; }
.faq-item.active .faq-answer { max-height: 1000px; padding: 0 16px 16px; }
.faq-answer-text { color: #4b5563; font-size: 1rem; line-height: 1.7; margin: 12px 0 0; }
&lt;/style>
&lt;script>
(function() {
 function initFAQ() {
 var qs = document.querySelectorAll(".faq-question");
 for (var i = 0; i &lt; qs.length; i++) {
 qs[i].addEventListener("click", function() {
 var item = this.closest(".faq-item");
 var wasActive = item.classList.contains("active");
 var allItems = document.querySelectorAll(".faq-item");
 for (var j = 0; j &lt; allItems.length; j++) { allItems[j].classList.remove("active"); }
 if (!wasActive) item.classList.add("active");
 this.setAttribute("aria-expanded", String(!wasActive));
 });
 }
 }
 if (document.readyState === "loading") {
 document.addEventListener("DOMContentLoaded", initFAQ);
 } else {
 initFAQ();
 }
})();
&lt;/script>
&lt;!-- /wp:html -->
&lt;!-- wp:html -->
&lt;script type="application/ld+json">
{
 "@context": "https://schema.org",
 "@type": "TechArticle",
 "headline": "The Role of Web Streams in Modern JavaScript Infrastructure",
 "description": "Benchmarks show alternative stream implementations running up to 120x faster than the current Web Streams API across major runtimes.",
 "author": {
 "@type": "Person",
 "name": "Marcus Chen"
 },
 "datePublished": "2026-02-27",
 "url": "https://blog.cloudflare.com/a-better-web-streams-api/",
 "inLanguage": "en",
 "wordCount": 3478,
 "speakable": {
 "@type": "SpeakableSpecification",
 "cssSelector": [
 ".article-intro",
 ".faq-answer"
 ]
 },
 "about": [
 {
 "@type": "Thing",
 "name": "Web Streams API"
 }
 ]
}
&lt;/script>
&lt;!-- /wp:html -->
&lt;!-- wp:paragraph {"className":"std-text"} -->
&lt;!-- /wp:paragraph -->
&lt;!-- wp:paragraph {"className":"std-text"} -->
&lt;p class="std-text">Benchmarks show alternative stream implementations running up to &lt;strong>120x faster&lt;/strong> than the current Web Streams API across substantial runtimes.&lt;/p></description></item></channel></rss>