Coder Social home page Coder Social logo

meteor-subscription-issue's Introduction

meteor-subscription-issue

This repo shows meteor subscription slowdown when upgrading from 1.8.0.2 to 1.8.1.

There are two branches:

  • 1.8.0
  • 1.8.1

Testing methodology:

  • two collections - Main and Linked
  • 30 documents in Main collection, each has 0..3 documents from Linked collection associated
  • using grapher and grapher-react. meteor-publish-composite is dependency of grapher
  • subscribe to whole Main collection and also load all Linked items

How to test

  1. Clone the repo, install npm dependencies and run meteor.
  2. Open in browser, open dev console. Hit Retry several times and check the results in the console.

Results

First load should be ignored. Clicking on Retry we get more representative results.

1.8.0.2.

git clone https://github.com/bhunjadi/meteor-subscription-issue.git meteor-subscription-issue
meteor npm i
meteor run

Mostly between 90-110ms

1.8.1.

git checkout 1.8.1
meteor run

Mostly between 180-230ms.

Conclusion

  1. 1.8.1 is around two times slower than 1.8.0.2
  2. When running from a checkout I bisected meteor devel branch and it appears that this commit caused the issue.
  3. The same issue is present for 1.8.2, too
  4. grapher and grapher-react - the same versions are used for each Meteor version so I would rule them out

meteor-subscription-issue's People

Contributors

bhunjadi avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.