I just checked in a patch that should make ip_to_str_buf() just slighly berret than twice as fast it was at the expense of ~2Kbyte extra memory.
It is not much but it was low hanging fruit and it might make ethereal ~1.5% faster. In itself not too much to write homa baout but if 50 optimizations like this one is doen, it might be noticeable. ----- Original Message ----- From: "Richard Sharpe" Sent: Monday, November 17, 2003 1:53 PM Subject: Re: [Ethereal-dev] Ethereal performance, after Guy's changes ... > Here is another set of data. The previous one was only a 13MB file. This > one is a monster 380MB file with 2.2M packets in it. It took 65m (over an > hour) to load, but vmware was running on the Linux box as well. > > Note, that some different routines jump into prominance here. > > Each sample counts as 0.01 seconds. > % cumulative self self total > time seconds seconds calls s/call s/call name > 7.00 14.23 14.23 176486154 0.00 0.00 alloc_field_info > 5.48 25.37 11.14 162192130 0.00 0.00 proto_tree_add_pi > 5.22 35.97 10.60 176486153 0.00 0.00 proto_tree_add_node > 3.63 43.34 7.37 330100515 0.00 0.00 > proto_registrar_get_nth > 3.56 50.58 7.24 17744688 0.00 0.00 ip_to_str_buf
