Code Monkey home page Code Monkey logo

graphical-timeline-of-events's People

Contributors

alfredkayser avatar grssam avatar msujaws avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

graphical-timeline-of-events's Issues

Integrate the Inspect network view with Timeline.

The same one that gets opened when you click on a network call line in web console.
NOTE : This has to be done somehow without hard coding the knowledge that one of the producers is network producer.

Reuse Lines canvas.

Keep squeezing the lines canvas and draw only the difference. This would result in a lot lesser calculations.

Draw less.

  1. When first visible and last visible times have not changed and current time is not less than last visible time, stop drawing.
  2. Print the mouse time in a different canvas so that ruler drawing can also be stopped for the above case.

In live view, both the dots and lines canvas can be reused by caching.

Blocks #33.

Set the startTime and endTIme for the cache. When in next render cycle, just draw the dots that came after the endTime for the cahce, shift the cached image accordingly to the left, draw delta lines for active connections, thats it.
This should reduce computations while painting.
If an event requires redraw, forcePaint can be set true.

Sort the globalTime array based on Y position too.

Maintain a 2d Array instead of 1D. It will mean lesser traversing for each frame through the whole big array.
If converting globalTime and globalGroup array is not possible, have another array then.

Optimize Live View

Due to optimizations in Overview, Live view has suffered a lot.
Need to fix it.

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.