Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Viewing code in Gerrit

From: Evan Huus <eapache@xxxxxxxxx>
Date: Mon, 24 Mar 2014 12:03:36 -0400
On Mon, Mar 24, 2014 at 11:26 AM, Bill Meier <wmeier@xxxxxxxxxxx> wrote:
> On 3/24/2014 9:21 AM, Evan Huus wrote:
>>
>>
>> In summary: the diff is computed locally in javascript, and seems to
>> be worse than O(n) on the size of the underlying file; viewing the
>> diff for any file >1k lines may be slow, but if you just let it run it
>> will finish eventually. Avoid epan/enterprise-numbers and other files
>> with 100k+ lines, they take many minutes to finish.
>>
>
> IOW: The 2 versions being diff'd are downloaded in total before doing a
> local compare ?

It seems so; however it doesn't appear to be the bandwidth that's the
problem, but the actual diff algorithm. The bottleneck is definitely
CPU.

> If so, UGH ....
>
>
>
>
>
>
> ___________________________________________________________________________
> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives:    http://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe