You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Laszlo Kishalmi (Jira)" <ji...@apache.org> on 2020/08/13 08:02:00 UTC
[jira] [Updated] (NETBEANS-4678) Ant Project Stacktrace matching
can be slow.
[ https://issues.apache.org/jira/browse/NETBEANS-4678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Laszlo Kishalmi updated NETBEANS-4678:
--------------------------------------
Summary: Ant Project Stacktrace matching can be slow. (was: java)
> Ant Project Stacktrace matching can be slow.
> --------------------------------------------
>
> Key: NETBEANS-4678
> URL: https://issues.apache.org/jira/browse/NETBEANS-4678
> Project: NetBeans
> Issue Type: Bug
> Components: projects - Ant Project
> Affects Versions: 12.0
> Environment: Debian Linux 10.5, x64
> Reporter: Alexey Makhov
> Priority: Major
> Labels: long, output, string
>
> Hi all!
> I faced with strange behavior in execute following simple java code:
> public class Test
> {
> public static void main(String[] aoA_)
> {
> {
> String jsS = "398203" +
> "24242424242424242424242424242424" +
> "32342342423423403030303031200625" +
> "124612234234002342342423445E949C" +
> "F45E000000000000000000000000022B" +
> "52342423423424242423423423383030" +
> "C234234234234234242348D952D859F2" +
> "00000000000000000000000000000000" +
> "00000000000000000000000000000000" +
> "00000000000000000000000000000000" +
> "00000000000000000000000000000000" +
> "234234234234234587CA50E92F18460F" +
> "2342342423424242342342E04C41ADA5" +
> "AFB1C424234234234234234234234234" +
> "E2341623404923479E2344822374DEC1" +
> "023419E2344B23343234323042304234" +
> "23402334223645123451234523040243" +
> "4568CC4546435624562456145464356E" +
> "234A2234123342344234423342242343" +
> "234FC234C235422343234E234423F423" +
> "123E451235964F56545624566456F455" +
> "105EC12391B23F11238123121313F45E" +
> "0132C10232C12F312283212631123433" +
> "A32321323333333363123123E5912353" +
> "A72340234F235422D9262E262B22F454" +
> "044ED4004F434F4149464E464E4C4455" +
> "0345303E53A45234523454354345A35E" +
> "34593C4513C45A356345534513503534" +
> "345DA3F45234553945634553245B3452" +
> "C456624056A4526A4567459645261465" +
> "45604056F451645D6045604536405645" +
> "4536456045260455624536B456845645" +
> "456F06450604506405646456554D6548" +
> "56373737356630567576657537506777" +
> "678067383637866738677896D7836F78" +
> "7899678B95789278A997892759708997" +
> "678696979467296F792679169767997A" +
> "67966729637926795679697669696797" +
> "679189F6979F7690679669D69A697696" +
> "5688568568E5618538A586568585685A" +
> "4574957F45724A576457045745747459" +
> "D4574570457B4574574574574574574B" +
> "45703045704570457040745745372457" +
> "45724957B4578450740574457F474751" +
> "3346F43E46324634FA43642346632636" +
> "34610034633F46D34623164346436432" +
> "324023148234D2934B273452C202CF22" +
> "2234CC23432C34F23F4D234923742534" +
> "2345644A424D192340225226303B3F34" +
> "34520C53A45E345E3546396675675670" +
> "345304500034503501001D2301211101" +
> "234F043437";
> System.out.println("1:\{" + jsS.length() + "}[0x" + jsS + "].");
> System.out.println("2:\{" + jsS.length() + "}[0x" + jsS + "].");
> }
> }
> }
> It takes 1-3 seconds to execute in Netbeans whereas executes instantly in command line on the same machine. Sometimes the execution time of this code grows up to 9 seconds. It depends of data in string value. Various data with the same length takes different time to execution. It is very strange to me.
> Log of code execution:
> run:
> 1:\{1616}[0x3982032424242424242424242424242424242432342342423423403030303031200625124612234234002342342423445E949CF45E000000000000000000000000022B52342423423424242423423423383030C234234234234234242348D952D859F200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000234234234234234587CA50E92F18460F2342342423424242342342E04C41ADA5AFB1C424234234234234234234234234E2341623404923479E2344822374DEC1023419E2344B23343234323042304234234023342236451234512345230402434568CC4546435624562456145464356E234A2234123342344234423342242343234FC234C235422343234E234423F423123E451235964F56545624566456F455105EC12391B23F11238123121313F45E0132C10232C12F312283212631123433A32321323333333363123123E5912353A72340234F235422D9262E262B22F454044ED4004F434F4149464E464E4C44550345303E53A45234523454354345A35E34593C4513C45A356345534513503534345DA3F45234553945634553245B3452C456624056A4526A456745964526146545604056F451645D60456045364056454536456045260455624536B456845645456F06450604506405646456554D654856373737356630567576657537506777678067383637866738677896D7836F787899678B95789278A997892759708997678696979467296F792679169767997A67966729637926795679697669696797679189F6979F7690679669D69A6976965688568568E5618538A586568585685A4574957F45724A576457045745747459D4574570457B4574574574574574574B4570304570457045704074574537245745724957B4578450740574457F4747513346F43E46324634FA4364234663263634610034633F46D34623164346436432324023148234D2934B273452C202CF222234CC23432C34F23F4D2349237425342345644A424D192340225226303B3F3434520C53A45E345E3546396675675670345304500034503501001D2301211101234F043437].
> 2:\{1616}[0x3982032424242424242424242424242424242432342342423423403030303031200625124612234234002342342423445E949CF45E000000000000000000000000022B52342423423424242423423423383030C234234234234234242348D952D859F200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000234234234234234587CA50E92F18460F2342342423424242342342E04C41ADA5AFB1C424234234234234234234234234E2341623404923479E2344822374DEC1023419E2344B23343234323042304234234023342236451234512345230402434568CC4546435624562456145464356E234A2234123342344234423342242343234FC234C235422343234E234423F423123E451235964F56545624566456F455105EC12391B23F11238123121313F45E0132C10232C12F312283212631123433A32321323333333363123123E5912353A72340234F235422D9262E262B22F454044ED4004F434F4149464E464E4C44550345303E53A45234523454354345A35E34593C4513C45A356345534513503534345DA3F45234553945634553245B3452C456624056A4526A456745964526146545604056F451645D60456045364056454536456045260455624536B456845645456F06450604506405646456554D654856373737356630567576657537506777678067383637866738677896D7836F787899678B95789278A997892759708997678696979467296F792679169767997A67966729637926795679697669696797679189F6979F7690679669D69A6976965688568568E5618538A586568585685A4574957F45724A576457045745747459D4574570457B4574574574574574574B4570304570457045704074574537245745724957B4578450740574457F4747513346F43E46324634FA4364234663263634610034633F46D34623164346436432324023148234D2934B273452C202CF222234CC23432C34F23F4D2349237425342345644A424D192340225226303B3F3434520C53A45E345E3546396675675670345304500034503501001D2301211101234F043437].
> BUILD SUCCESSFUL (total time: 3 seconds)
> Best Regards,
> Alexey Makhov.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists