mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
dea305ca4a8b199e15975daba2dfbcd84fd6dfef
In PR #10720, we introduced the makeCheapPathFunction in an effort to reduce the caching overhead for very frequently called (and already pretty quick) operations like files.stat. However, the default maximum LRU cache size of Math.pow(2, 16) can cause quite a bit of cache eviction churn for large applications, which @veered has identified as a potential source of build performance problems. By setting the maximum cache size to Math.pow(2, 20) instead, I am no longer seeing any files.stat calls in the profiling output for rebuilding a large internal app, saving several seconds of rebuild time. The obvious downside is that this cache might accumulate more memory over time, which is why I didn't just set the max to Infinity, though that might be a viable option if the total set of paths ever stat'd is small enough to fit into the available memory. In the future, I hope to find ways of managing LRU cache size that respond to actual memory pressure (relative to available memory), rather than pruning the cache after an arbitrary numeric threshold is reached.
Meteor is an ultra-simple environment for building modern web applications.
With Meteor you write apps:
- in modern JavaScript
- that send data over the wire, rather than HTML
- using your choice of popular open-source libraries
Try a getting started tutorial:
Next, read the guide and the documentation.
Quick Start
On Windows, the installer can be found at https://www.meteor.com/install.
On Linux/macOS, use this line:
curl https://install.meteor.com/ | sh
Create a project:
meteor create try-meteor
Run it:
cd try-meteor
meteor
Developer Resources
Building an application with Meteor?
- Announcement list: sign up at http://www.meteor.com/
- Having problems? Ask for help at: http://stackoverflow.com/questions/tagged/meteor
- Discussion forums: https://forums.meteor.com/
Interested in helping or contributing to Meteor? These resources will help:
We are hiring! Visit meteor.io/jobs to learn more about working full-time on the Meteor project.
Uninstalling Meteor
Aside from a short launcher shell script, Meteor installs itself inside your home directory. To uninstall Meteor, run:
rm -rf ~/.meteor/
sudo rm /usr/local/bin/meteor
On Windows, just run the uninstaller from your Control Panel.
Languages
JavaScript
91.1%
TypeScript
3.9%
Shell
0.9%
Java
0.7%
Swift
0.7%
Other
2.5%
