Code Monkey home page Code Monkey logo

performance-monitoring's People

Contributors

dd1994 avatar fromiris avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

performance-monitoring's Issues

首屏时间

@dd1994 迪迪 我有个疑问 在页面首次加载的时候,如果遇到异步ajax请求再渲染页面(可能会异步加载很多图片)的情况,这个异步花费的时间是算在load里的吗。 我做了一些试验 发现异步请求数据去渲染页面的时间是算在load里的。
但是七天打造性能监控那篇文利说到
image
在说到首屏时间的时候也讲到
image

我感觉作者认为异步请求过来的数据再填充到页面中所花费的时间是在load之外的?

domContentLoaded

  1. 搞清楚需要哪些数据,各个数据的含义,这些数据如何通过 API 或者计算得到,就是现在做的;
  2. 用 phantomjs 跑一下试试,phantomjs 是个好东西,有很多值得学习的地方;
  3. 写那个在线监控的前端脚本,得到那些数据。这个是最难的吧,要考虑到很多问题;
  4. 数据 post 到一个后端,然后展示出来,这个偏向前端 UI 效果之类的。

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.