https://github.com/binaryk/benchmark-ulid-id
Compare ulid vs id as primary key in Laravel.
https://github.com/binaryk/benchmark-ulid-id
Last synced: about 1 month ago
JSON representation
Compare ulid vs id as primary key in Laravel.
- Host: GitHub
- URL: https://github.com/binaryk/benchmark-ulid-id
- Owner: binaryk
- Created: 2023-02-13T11:14:55.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-19T20:56:07.000Z (about 3 years ago)
- Last Synced: 2025-01-26T08:25:38.364Z (over 1 year ago)
- Language: PHP
- Size: 152 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
In this project I measured the performance of the foreign keys when using `ulid` vs `int classic id` in a Laravel project.
For various seeds, the `ulid` version take almost twice as long as the `int` version.
