Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryan-williams/meteor-test
Simple repo for testing MeteorJS page-refresh rate
https://github.com/ryan-williams/meteor-test
Last synced: about 2 months ago
JSON representation
Simple repo for testing MeteorJS page-refresh rate
- Host: GitHub
- URL: https://github.com/ryan-williams/meteor-test
- Owner: ryan-williams
- Created: 2015-07-01T16:59:58.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-07-08T16:51:28.000Z (over 9 years ago)
- Last Synced: 2024-10-20T07:45:10.773Z (3 months ago)
- Language: JavaScript
- Size: 132 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# meteor-test
Simple repo for testing MeteorJS page-refresh rate.Run Meteor server with:
```
$ meteor
```
Open up [localhost:3000](http://localhost:3000) to see a blank page; for best results, open the developer console as well, to view `console.log`s about the page's status as it incorporates new data from the server.Connect to Meteor's Mongo instance:
```
$ meteor mongo
```Run various commands and observe the page's latency of showing updated data:
```
meteor:PRIMARY> for (var x = 0; x < 100; x++) { db.test.insert({ a: x, b: 2*x, c: (new Date()) }); }
meteor:PRIMARY> for (var x = 0; x < 1000; x++) { db.test.insert({ a: x, b: 2*x, c: (new Date()) }); }
meteor:PRIMARY> db.test.drop()
```