Verbose output of folders being indexed

NEW
Unassigned

Status

Webtools
DXR
P4
enhancement
7 years ago
6 years ago

People

(Reporter: Christian Dywan, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

7 years ago
Created attachment 569374 [details]
0005-Verbose-output-of-folders-being-indexed.diff

User Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; de-de) AppleWebKit/534+ (KHTML, like Gecko) Version/5.0 Safari/534.16+ Midori/0.4

Steps to reproduce:

So while I was investigating problems with indexing, I ended up adding some output to print folders while they're being indexed. This is clearly a performance impact and only useful for development, so I wouldn't suggest to merge it as-is. Rather, I'd like to know if anybody else likes the idea of verbose output in general.

I can imagine cupling it with -d/ --debug, which is already for development purposes only. Or with a separate switch, such as -v/ --verbose and additional output.
(Reporter)

Updated

7 years ago
Attachment #569374 - Flags: review?(Pidgeot18)
Comment on attachment 569374 [details]
0005-Verbose-output-of-folders-being-indexed.diff

So, the problem is that since the output directories are opened asynchronously as a queue, it doesn't really print in realtime the current progress, irrespective of its actual performance (my timing measurements indicated a change from 16m48s to 17m20s, so it's not exactly a major performance regression).
Attachment #569374 - Flags: review?(Pidgeot18) → review-
Status: UNCONFIRMED → NEW
Ever confirmed: true
(Reporter)

Updated

7 years ago
Assignee: nobody → christian.dywan

Comment 2

6 years ago
Not a priority right now
Severity: normal → enhancement

Updated

6 years ago
Assignee: christian → nobody

Updated

6 years ago
Priority: -- → P1

Updated

6 years ago
Priority: P1 → P5

Updated

6 years ago
Priority: P5 → P4
You need to log in before you can comment on or make changes to this bug.