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.

Bug 250894 - 10 seconds in order to create new file on far host (ping ~200 ms)
Summary: 10 seconds in order to create new file on far host (ping ~200 ms)
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 8.1
Hardware: PC Solaris
: P3 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-04 13:54 UTC by soldatov
Modified: 2017-05-10 14:57 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2015-03-04 13:54:31 UTC
On far (USA) host I can edit, build and launch small project with 5 files without big delays. It is a cool. But I miss about 10 seconds in order to add new file. I suggest to choose new target. 5 seconds can be new threshold.
P.S. For me 10 seconds is a long delay, In this cases I activate other application and waiting answer from IDE in background.

Scenario:
- Open small project on far host (ping ~200 ms)
- Call New File wizard
- Select "C" category and "C Source File" file type. Press Next.
- Press Finish
==> ~10 seconds missed
Comment 1 Vladimir Kvashin 2015-03-18 13:38:28 UTC
I have a couple of questions:
1) Is the folder you create file in versioned?
2) Do you mean this is a regression in comparison with 8.0.x?

In any case, to agree on the goal, we need to specify whether the file belongs to an open project or not: due to implementation reasons, adding a file into a project takes longer (as we need to store updated project metainformation as well).
Comment 2 Vladimir Kvashin 2015-03-18 13:40:49 UTC
(In reply to Vladimir Kvashin from comment #1)
> 2) Do you mean this is a regression in comparison with 8.0.x?

I guess I know the answer. I measured it when filing and then fixing issue 250350. I think this isn't a regression: according to my measurements it took 9-11 seconds in 8.0.2.
Comment 3 soldatov 2015-03-18 13:46:13 UTC
You are right. It is not a regression. And same delay I see in NetBeans 8.0.2.
Comment 4 Vladimir Kvashin 2015-06-17 08:40:30 UTC
My measurements show that file creation takes 10 seconds if the file is in project; if you just create a new file in Favorites, it takes 4-5 seconds. (I think the reason is that in the former case project metadata is saved as well).