regression: directoryList is sllloow on unix systems

Description

there's some huuuge performance regression on docs
6.0.2.1-SNAPSHOT 3.4s
6.1.0.236-SNAPSHOT 176s

locally the import on my windows machine takes 10s with java 11 or 21

on my mac, same problem occurs

takes 25ms or so per call, previously sub millsecond

Environment

None

Attachments

2

Activity

Show:

Zac Spitzer 10 July 2024 at 15:56

much better!!!

Michael Offner 10 July 2024 at 15:16

problem is when query for directoryList is created, Lucee validates the type of the column “mode“ what causes it to be called.

Michael Offner 10 July 2024 at 13:59

if not the case we simply roll back that change

Michael Offner 10 July 2024 at 13:59

mode should be only read when it is also read, make sure you don’t have for example a dump of a directory somewhere, that would make it slow of course, but as long you don’t read that value it should have no effect. please make sure that is not the case.

Fixed

Details

Assignee

Reporter

Priority

Fix versions

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Sprint

Affects versions

Created 10 July 2024 at 12:26
Updated 29 December 2024 at 10:24
Resolved 10 July 2024 at 15:56