From 46b09f7e83a5e8ced61d910e8635df3838a73657 Mon Sep 17 00:00:00 2001 From: sinclair Date: Sun, 10 Nov 2024 19:05:17 +0900 Subject: [PATCH] Documentation --- readme.md | 4 ++-- task/benchmark/compression/module/typebox-parse.ts | 3 --- task/benchmark/compression/module/typebox-syntax.ts | 3 +++ 3 files changed, 5 insertions(+), 5 deletions(-) delete mode 100644 task/benchmark/compression/module/typebox-parse.ts create mode 100644 task/benchmark/compression/module/typebox-syntax.ts diff --git a/readme.md b/readme.md index e62b1578..7cfcad30 100644 --- a/readme.md +++ b/readme.md @@ -1762,10 +1762,10 @@ The following table lists esbuild compiled and minified sizes for each TypeBox m ├──────────────────────┼────────────┼────────────┼─────────────┤ │ typebox/compiler │ '119.8 kb' │ ' 52.6 kb' │ '2.28 x' │ │ typebox/errors │ ' 74.4 kb' │ ' 33.1 kb' │ '2.25 x' │ -│ typebox/parse │ '115.3 kb' │ ' 48.3 kb' │ '2.39 x' │ +│ typebox/syntax │ '115.3 kb' │ ' 48.3 kb' │ '2.39 x' │ │ typebox/system │ ' 7.4 kb' │ ' 3.2 kb' │ '2.33 x' │ │ typebox/value │ '157.2 kb' │ ' 66.1 kb' │ '2.38 x' │ -│ typebox │ '127.3 kb' │ ' 53.3 kb' │ '2.39 x' │ +│ typebox │ ' 98.9 kb' │ ' 41.2 kb' │ '2.40 x' │ └──────────────────────┴────────────┴────────────┴─────────────┘ ``` diff --git a/task/benchmark/compression/module/typebox-parse.ts b/task/benchmark/compression/module/typebox-parse.ts deleted file mode 100644 index 7ba2bf33..00000000 --- a/task/benchmark/compression/module/typebox-parse.ts +++ /dev/null @@ -1,3 +0,0 @@ -import * as Parse from '@sinclair/typebox/parse' - -console.log(Parse) diff --git a/task/benchmark/compression/module/typebox-syntax.ts b/task/benchmark/compression/module/typebox-syntax.ts new file mode 100644 index 00000000..311871c6 --- /dev/null +++ b/task/benchmark/compression/module/typebox-syntax.ts @@ -0,0 +1,3 @@ +import * as Syntax from '@sinclair/typebox/syntax' + +console.log(Syntax)