Giter Club home page Giter Club logo

Comments (3)

gaogaotiantian avatar gaogaotiantian commented on July 28, 2024

Hi, could you elaborate on this issue? Which text do you think is unreadable? The text in the rectangle track? I believe that's generated in canvas, not HTML component.

The font is small but definitely readable to me and we need to take in the fact that we had plenty of information there. Maybe you are using it on a smaller screen like a laptop?

One suggestion I have is to use the "Zoom" feature of chrome. It's in the control menu, or use Ctrl + mouse wheel. Catapult(the front-end of result.html) is responsive so you'll have bigger fonts while keeping the basic structure.

Also, VizTracer is moving it's default front-end to Perfetto now, so that's also an option to try out.

from viztracer.

jpcbertoldo avatar jpcbertoldo commented on July 28, 2024

Hi, apologies for the poorly-written issue, I wrote it in a hurry to not forget.

I'm talking about this:

Screenshot from 2021-05-31 18-05-25

The function names inside the horizontal bars. The screenshot above was taken on a laptop screen, but on a bigger screen it's quite hard to read that.

I tried

  • Ctrl + +, Ctrl + wheel, zooming but it doesn't scale well
  • the new intervace (using traceviewer) and it just didn't work with a big trace

I believe that's generated in canvas, not HTML component.

So, what does that mean? One cannot change the fontsize once the HTML is already generated?

Also, VizTracer is moving it's default front-end to Perfetto now, so that's also an option to try out.

Is that the traceviewer-thing?

from viztracer.

gaogaotiantian avatar gaogaotiantian commented on July 28, 2024

Hmm, in my experience, bigger screen normally displays better. Maybe it's different on a 4k screen?

The text being in canvas means you can't simply change css to make it larger. I also believe that to match the track size, you can't easily enlarge the font either.

But the more serious problem is the perfetto front-end. Do you mean vizviewer when you say traceviewer? The Perfetto front-end is designed for larger trace(GB-level), so in theory it should handler large trace much better than the current catapult trace viewer. Could you tell me what's going wrong when you do vizviewer result.json? Make sure you are using the latest VizTracer(or at least 0.13.0) though.

The Perfetto front-end also scales much better with Chrome zoom.

For example, this is my screen shot of 150% zoom on a 2k screen.

image

from viztracer.

Related Issues (20)

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.