After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 763857 - debug-viewer: add options to filter in instead of only out
debug-viewer: add options to filter in instead of only out
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-devtools
1.6.3
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-03-18 10:45 UTC by Xabier Rodríguez Calvar
Modified: 2016-04-04 20:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Added support in filters for filtering in (2.56 KB, patch)
2016-03-18 10:46 UTC, Xabier Rodríguez Calvar
none Details | Review
Add options to menus (4.89 KB, patch)
2016-03-18 10:47 UTC, Xabier Rodríguez Calvar
none Details | Review
Added support in filters for filtering in (2.80 KB, patch)
2016-03-28 15:27 UTC, Xabier Rodríguez Calvar
committed Details | Review
Add options to menus (5.53 KB, patch)
2016-03-28 15:28 UTC, Xabier Rodríguez Calvar
committed Details | Review
Added menu opts to filter in instead of only out (5.59 KB, patch)
2016-04-04 20:31 UTC, Stefan Sauer (gstreamer, gtkdoc dev)
committed Details | Review
Added support to filter in instead of only out (2.85 KB, patch)
2016-04-04 20:31 UTC, Stefan Sauer (gstreamer, gtkdoc dev)
committed Details | Review

Description Xabier Rodríguez Calvar 2016-03-18 10:45:59 UTC
I have patches to enable filtering in instead of filtering out only.
Comment 1 Xabier Rodríguez Calvar 2016-03-18 10:46:37 UTC
Created attachment 324245 [details] [review]
Added support in filters for filtering in
Comment 2 Xabier Rodríguez Calvar 2016-03-18 10:47:09 UTC
Created attachment 324246 [details] [review]
Add options to menus
Comment 3 Tim-Philipp Müller 2016-03-18 10:58:51 UTC
I think you should feel free to just push that after a while if no one objects, I don't think anyone is working actively on the debug viewer at the moment.
Comment 4 Tim-Philipp Müller 2016-03-18 11:10:48 UTC
Ignore the previous comment, I'll push it in a bit if no one has any comments, it looks fine to me at first glance.
Comment 5 Tim-Philipp Müller 2016-03-18 11:12:07 UTC
Comment on attachment 324246 [details] [review]
Add options to menus

Setting to accepted-commit_after_freeze as reminder.
Comment 6 Stefan Sauer (gstreamer, gtkdoc dev) 2016-03-18 18:00:54 UTC
Can we get my gtk+3 port working before we change the gtk+2 version? 
https://github.com/ensonic/gst-devtools/tree/debug-viewer-gtk3
Comment 7 Tim-Philipp Müller 2016-03-18 18:19:59 UTC
> Can we get my gtk+3 port working before we change the gtk+2 version? 
> https://github.com/ensonic/gst-devtools/tree/debug-viewer-gtk3

That's partly why I CC-ed you :)

What's the status with that? Anything in particular you need help with? Or does it just need merging or .. ?
Comment 8 Stefan Sauer (gstreamer, gtkdoc dev) 2016-03-18 22:38:32 UTC
As I wrote on the mailing list, it is slow. Probably a mix of regressions in gtk+2 -> gtk+3 and python-gobject -> py-gi. But I am running our of ideas. I had posted the mail with the git branch in the hope that people would try it and maybe have some ideas how to profile this.
Comment 9 Tim-Philipp Müller 2016-03-18 23:03:55 UTC
Is performance unbearably slow? If it's usable I'd just merge it :)
Comment 10 Stefan Sauer (gstreamer, gtkdoc dev) 2016-03-19 12:57:25 UTC
Unfortunately so slow that you'd suspect a bug and kill it before it is ready loading a log :/ I'll talk to the gi guys.
Comment 11 Stefan Sauer (gstreamer, gtkdoc dev) 2016-03-25 21:36:45 UTC
I've just rebased the branch and tested it a bit more. For a 15M log file it is kind of okay. I'd loved to get some feedback from other whether the performance is okayish enough to merge it. 

We'll probably find some more bug when using it, since this is python. 

Xabier, can you please give my branch a spin? And thanks for making these changes, I'd love to see them added and I think the patches will still apply easily on the branch.
Comment 12 Xabier Rodríguez Calvar 2016-03-28 14:07:01 UTC
(In reply to Stefan Sauer (gstreamer, gtkdoc dev) from comment #11)
> I've just rebased the branch and tested it a bit more. For a 15M log file it
> is kind of okay. I'd loved to get some feedback from other whether the
> performance is okayish enough to merge it. 
> 
> Xabier, can you please give my branch a spin? And thanks for making these
> changes, I'd love to see them added and I think the patches will still apply
> easily on the branch.

I just did. My patches apply against your branch.

About the performance, it is true that running your branch takes aproximately 4 times (about 10s) to load a 87MB file against the original (about 2,5s).

I am using my own branch so I am not in a hurry to land the patches, but I think it is safe and you wouldn't have any issues if you had to rebase with them included.
Comment 13 Xabier Rodríguez Calvar 2016-03-28 15:27:49 UTC
Created attachment 324877 [details] [review]
Added support in filters for filtering in
Comment 14 Xabier Rodríguez Calvar 2016-03-28 15:28:43 UTC
Created attachment 324878 [details] [review]
Add options to menus

I updated the patches to add a new filter, a log level and all above a certain one.
Comment 15 Stefan Sauer (gstreamer, gtkdoc dev) 2016-04-04 20:31:30 UTC
The following fixes have been pushed:
82910a1 Added menu opts to filter in instead of only out
ba4afd7 Added support to filter in instead of only out
Comment 16 Stefan Sauer (gstreamer, gtkdoc dev) 2016-04-04 20:31:43 UTC
Created attachment 325381 [details] [review]
Added menu opts to filter in instead of only out

Added also menu option to filter a log level and all above that
Comment 17 Stefan Sauer (gstreamer, gtkdoc dev) 2016-04-04 20:31:48 UTC
Created attachment 325382 [details] [review]
Added support to filter in instead of only out

Added support to filter a log level and all above it
Comment 18 Stefan Sauer (gstreamer, gtkdoc dev) 2016-04-04 20:32:14 UTC
Thanks! Merged.