Coder Social home page Coder Social logo

glennneiger / mattermost-webapp-profiling Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mattermost/mattermost-webapp-profiling

0.0 0.0 0.0 82 KB

Project for automating profiling of the Mattermost web app.

License: Apache License 2.0

JavaScript 71.88% Makefile 28.12%

mattermost-webapp-profiling's Introduction

mattermost-webapp-profiling

Project for automated profiling of the Mattermost web app. Built off the wonderful automated-chrome-profiling.

Requirements

  1. npm 4.3.0 or higher
  2. node 7.7.0 or higher
  3. mattermost-server and mattermost-webapp developer environments

Usage

  1. Run make install
  2. Load the db/testdbdump.sql into your mysql database
  3. Build a dev build of the web app with make run-fullmap
  4. Start up your Mattermost server at http://localhost:8065
  5. Run make run
  6. Open up Chrome and load the profile created in ./profiles/ into the Performance tab

Use make clean to clean up the docker container and your environment.

Reading the Profile

In the timeline you should see three yellow blocks representing CPU usage. The first covers initial page load, the second is a channel switch and the last is a team switch. Let's call each of these an event.

Open up the User Timing tab to see React specific information in the form of a flame graph. This should provide insight into where processing time is being spent for each of the three different events.

mattermost-webapp-profiling's People

Contributors

jwilander avatar sudheerdev 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.