Skip to content

numtel/node-pg-mem-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-postgres simple load test

This test provides a structure for running queries repeatedly while measuring the application's memory usage as well as measuring response times on an array of live queries (provided by pg-live-select package).

A reading of index.js is recommended to understand the operations performed. The following commands can be used to get the application running on your machine:

$ npm install

# Configure database connection string (CONN_STR)
$ vim index.js

# Start the application with the following command: (Output file is optional)
$ node index.js out.json

Press ctrl+c to exit and display memory usage graphs.

If an output file is specified, it may be viewed using index.html.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published