This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | subversion preparing files to commit speed improvement | ||
---|---|---|---|
Product: | versioncontrol | Reporter: | rastrano <rastrano> |
Component: | Subversion | Assignee: | Ondrej Vrabec <ovrabec> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | -S1S- | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: | Netbeans self profile while "Preparing Commit" |
Description
rastrano
2012-03-03 16:37:17 UTC
Attach a profiler snapshot so we can identify what's taking so long while committing your files. http://wiki.netbeans.org/FitnessViaPartnership Created attachment 116315 [details]
Netbeans self profile while "Preparing Commit"
A normal pre-commit of all the java web project (from root directory).
I stopped it before end.
Adding new dirs takes longer.
Normally if i select just single changed files with ctrl+click the IDE i can commit in few seconds
maybe is also ntfs that i mount from windows partition via fuse that slows the thing down (ntfs is very slow with many little files)
Try running the IDE with -J-Dnetbeans.subversion.commit.deepStatusRefresh=false With this switch, commit will skip the preparation phase and will list files directly from the cache. However you must be sure that all the files are correctly in sync in the IDE with the ones on disk. If you for example do an external commit (not in the IDE), the files will remain as modified in the IDE and the commit dialog will tend to list them. Alternatively, you can run commit from the Versioning or Diff view. Invoking the commit from here will skip the phase automatically. Thank you very much for the tips, using these options is perfect for my need and works like a charm :) Anyway my excessive slowness was due to an hardware problem i just discovered on my SSD. Sorry to have raised this report. Best, Stefano (In reply to comment #4) > Thank you very much for the tips, using these options is perfect for my need > and works like a charm :) > > Anyway my excessive slowness was due to an hardware problem i just discovered > on my SSD. Sorry to have raised this report. > > Best, > Stefano Hi Stefano, Sorry for commenting on a resolved issue but I wanted to know what hardware problems you had and if you fixed them. I have an SSD set up as a Cache drive using Intel SRT and I'm wondering if there is a connection to some slowness bugs that I'm getting. -J-Dnetbeans.subversion.commit.deepStatusRefresh=false doesn't help, problem still exist in netbeans 8.2 with idk 1.8.0_65 (In reply to mcheung63 from comment #6) > -J-Dnetbeans.subversion.commit.deepStatusRefresh=false doesn't help, problem > still exist in netbeans 8.2 with idk 1.8.0_65 Please do not reopen that old issues, file a new one, attach the full messages log and a profiler snapshot there demonstrating the slow prep phase. http://wiki.netbeans.org/FaqLogMessagesFile http://wiki.netbeans.org/FaqProfileMeNow |