Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.21 KB

File metadata and controls

42 lines (28 loc) · 1.21 KB

SIMD Performance Test Document

This is a test document with various formatting elements to test our SIMD optimization.

HTML Characters That Need Escaping

Here are some characters that need escaping: <script>alert('XSS')</script>

The following special characters should be handled: & < > " '

Links and Code

Visit our website for more information.

function escapeHtml(text) {
    return text
        .replace(/&/g, "&amp;")
        .replace(/</g, "&lt;")
        .replace(/>/g, "&gt;")
        .replace(/"/g, "&quot;");
}

More Content for Testing

This document contains many different formatting elements to test performance:

  • Lists with bold items
  • Code blocks with special characters
  • Links with complex URLs

Blockquotes with > special characters & symbols

Tables

Name Description Special Chars
Test Description with & symbols
More Another row with "quotes" <>&"

The goal is to have enough content with special characters that need escaping to properly test our SIMD implementation.