Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

README

        

# Prisma RSS usage

```
git clone https://github.com/BCsabaEngine/prisma-test
npm i

npm 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
```