google-code-export / morphia

Automatically exported from code.google.com/p/morphia
1 stars 0 forks source link

A perfomance problem with morphia self-logging system. #455

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What version are you using? (Morphia/Driver/MongoDB)
0.99 - last version MongoDB

Perfomance issue-
On a web application while I has perfomed a perfomance test, 
two methods has fallen in the top5 jvisualVm sample.

com.google.code.morphia.logging.jdk.getCaller()
and 
com.google.code.morphia.mapping.MappedField.toString()
The debug and any morphia logging mode was swithed off.

MappedField.toString() uses in 
Mapper(575)
jdk.getCaller() invokes in any logging enter. 

Original issue reported on code.google.com by a.solov...@tinkoffdigital.ru on 12 Mar 2013 at 11:06

GoogleCodeExporter commented 9 years ago

com.google.code.morphia.logging.jdk.JDKLogger.getCaller()

Original comment by a.solov...@tinkoffdigital.ru on 12 Mar 2013 at 11:09