should be it

This commit is contained in:
2025-10-24 19:21:19 -05:00
parent a4b23fc57c
commit f09560c7b1
14047 changed files with 3161551 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
# name: benchmark/micro/string/inet_unescape_charrefs.benchmark
# description: inet's extension unescape function benchmark with character references
# group: [string]
name html_unescape benchmark for character references
group string
require inet
load
CREATE TABLE charrefs AS SELECT * FROM (VALUES ('&amp'), ('∷'), ('&CounterClockwiseContourIntegral;'), ('&;'), ('≷'), ('⇆'), ('↓'), ('not &notin'), ('";'), ('&no charref'));
INSERT INTO charrefs SELECT repeat('⪰̸', i%10) charref FROM range(1000) t(i);
INSERT INTO charrefs SELECT repeat('𝔷', i%10) charref FROM range(1000) t(i);
INSERT INTO charrefs SELECT repeat('É', i%7) html_text FROM range(997990) t(i);
run
SELECT html_unescape(charrefs.col0) FROM charrefs;