log4j2 performance issues with Java 11

2020-11-17 Thread Lisa Ruby
plication through NetBeans. I haven't tried starting the application from a Windows Command window yet. Running into some other issues doing that. Can anyone help me figure out if this is a log4j issue, or if there is something I can change in how I'm using log4j with Java 11, so I can re

Re: log4j2 performance issues with Java 11

2020-11-18 Thread Lisa Ruby
g snapshot would help enormously. > > FWIW, Logging to the Console is known to be very slow, but I don’t believe it > should have changed that much between Java 8 and 11. > > Ralph > >> On Nov 17, 2020, at 11:11 PM, Lisa Ruby >> wrote: >> >> I am working

Re: log4j2 performance issues with Java 11

2020-11-18 Thread Lisa Ruby
the module path > and Java 11 modules you will likely have all kinds of interesting problems. > > Ralph > >> On Nov 18, 2020, at 9:00 AM, Lisa Ruby >> wrote: >> >> Do you know if it's possible to run YourKit under NetBeans? I can try it >> if I can

Re: log4j2 performance issues with Java 11

2020-11-19 Thread Lisa Ruby
> to make that faster but haven’t seemed to find something that works for >> everybody. So providing a profiling snapshot would help enormously. >> >> FWIW, Logging to the Console is known to be very slow, but I don’t believe >> it should have changed that much between

Re: log4j2 performance issues with Java 11

2020-11-19 Thread Lisa Ruby
t; > FWIW, I find your results surprising as all %logger{36} should be doing is > truncating the logger name and including it. I would have expected formatting > the time or including the location info to be slower than dealing with the > logger. > > Thanks, > Ralph >

Re: log4j2 performance issues with Java 11

2020-11-20 Thread Lisa Ruby
ld be great it you could send it to me. I can email you privately >>> with a dropbox location where you can place the file if that will work for >>> you. >>> >>> FWIW, I find your results surprising as all %logger{36} should be doing is >>> truncating

Re: log4j2 performance issues with Java 11

2020-11-21 Thread Lisa Ruby
Hi Ralph, Thank you for taking the time to investigate this, and for all of the information. You are correct, I forgot that I'd tested in Java 8 with the RollingFileAppender removed, and I obtained the YourKit profiler data without it. If you think it would be useful in any way I can also cap

Re: log4j2 performance issues with Java 11

2020-11-21 Thread Lisa Ruby
Hi Ralph, Thank you for taking the time to investigate this, and for all of the information. You are correct, I forgot that I'd tested in Java 8 with the RollingFileAppender removed, and I obtained the YourKit profiler data without it. If you think it would be useful in any way I can also cap

Re: log4j2 performance issues with Java 11

2020-11-21 Thread Lisa Ruby
gging during initialization. > > I might play around with the console appender myself and see if there are any > settings that can improve performance. > > Ralph > >> On Nov 22, 2020, at 12:12 AM, Lisa Ruby wrote: >> >> Hi Ralph, >> >> Thank you