Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-dev: Re: [Wireshark-dev] New experimental feature: GTK2 based packet list(svn rev 28892)

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: Stephen Fisher <steve@xxxxxxxxxxxxxxxxxx>
Date: Thu, 2 Jul 2009 11:35:32 -0600

On Thu, Jul 02, 2009 at 10:13:54AM +0200, Anders Broman wrote:

> Great job! Looks quite good I think. 

Thanks!  I'm going to work on the coloring rules next.

> I played with it a bit and loading large files is quite slow but 
> removing the resorting for every row speeds it up to be faster than 
> the original code I think. A 61Mb trace New packet list with patch 
> ~11s, old WS (SVN Rev 27374) ~16s

Great.

> Memmory usage is much higher though 183 744Kb vs 252 388K. Should some 
> columns be stored as numbers instead of strings?

Probably.

> Index: packet_list_store.c
> ===================================================================
> --- packet_list_store.c (revision 28916)
> +++ packet_list_store.c (working copy)
> @@ -516,7 +516,7 @@
> 
>         gtk_tree_path_free(path);
> 
> -       packet_list_resort(packet_list);
> +       //packet_list_resort(packet_list);
>  }

This goes along the lines of my thinking that we could turn off sorting 
until a capture file is fully loaded.  We could also only turn on 
sorting if the user clicks on one of the column headings by using a 
number for sort_id to signify no sorting.


Steve


  • Follow-Ups:
    • Re: [Wireshark-dev] New experimental feature: GTK2 basedpacket list(svn rev 28892)
      • From: Anders Broman
  • References:
    • Re: [Wireshark-dev] New experimental feature: GTK2 based packet list(svn rev 28892)
      • From: Anders Broman
  • Prev by Date: Re: [Wireshark-dev] IEEE 1588 PTP DataTypes
  • Next by Date: [Wireshark-dev] VB: [Wireshark-commits] rev 28920: /trunk/ /trunk/gtk/: hostlist_table.c /trunk/: Makefile.am Makefile.common Makefile.nmake config.h.win32 configure.in mkstemp.c mkstemp.h tempfile.c tempfile.h
  • Previous by thread: Re: [Wireshark-dev] New experimental feature: GTK2 based packet list(svn rev 28892)
  • Next by thread: Re: [Wireshark-dev] New experimental feature: GTK2 basedpacket list(svn rev 28892)
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation