Skip to content

Performance issue when connected to network #3744

@kisho23

Description

@kisho23

Environment

  • JRuby version: 9.0.5.0
  • Operating system: Windows 7

Expected Behavior

I just playing around with asciidoctor.
I put all gems and specifications in the classpath.

The program should start in the same time either if the network is connected or not.

Actual Behavior

If the network is connected it needs 1 minute.
If the network is not connected it need 5 seconds

After some debugging I found out that

uri:classloader://specifications/asciidoctor-1.5.4.gemspec

yields to a

new File("//specifications/asciidoctor-1.5.4.gemspec").exists()

Under Windows "//specifications" is a network drive, which can not be resolved.
I think this is the reason for my performance problem in case the laptop is connected to the network.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions