Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bcsabaengine/prisma-test
Prisma RSS usage test
https://github.com/bcsabaengine/prisma-test
Last synced: 10 days ago
JSON representation
Prisma RSS usage test
- Host: GitHub
- URL: https://github.com/bcsabaengine/prisma-test
- Owner: BCsabaEngine
- Created: 2023-08-26T18:26:00.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-26T12:11:41.000Z (4 months ago)
- Last Synced: 2024-10-11T14:07:15.315Z (about 1 month ago)
- Language: TypeScript
- Size: 43.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Prisma RSS usage
```
git clone https://github.com/BCsabaEngine/prisma-test
npm inpm run seed:1m
npm run dev
```retrieves 1m rows and concat data to one string that 25Mb only
displays RSS usage:
```
Start RSS: 213 Mb
Extract finished - 1000000 rows
Concat - 25 Mb
End RSS: 2085 Mb
```when use PG native query (commented out in source code)
```
Start RSS: 213 Mb
Extract finished - 1000000 rows
Concat - 25 Mb
End RSS: 474 Mb
```