https://github.com/webdeveric/predicate-vs-schema
Simple speed comparison of type predicates vs schemas
https://github.com/webdeveric/predicate-vs-schema
Last synced: 16 days ago
JSON representation
Simple speed comparison of type predicates vs schemas
- Host: GitHub
- URL: https://github.com/webdeveric/predicate-vs-schema
- Owner: webdeveric
- Created: 2025-07-05T17:28:38.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-18T17:52:50.000Z (about 1 year ago)
- Last Synced: 2025-10-24T13:56:54.060Z (9 months ago)
- Language: TypeScript
- Size: 77.1 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Predicate VS Schema
This repo compares type predicate functions vs schema libs for data validation.
## Setup
```shell
fnm use
corepack enable
pnpm install
```
## Benchmark
```shell
pnpm bench
```
## Bundle size
```shell
pnpm build
```
```shell
du -h dist/*
```