You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by GitBox <gi...@apache.org> on 2021/07/07 06:46:27 UTC

[GitHub] [sling-org-apache-sling-scripting-core] joerghoh commented on pull request #8: SLING-10584 log an info message if adding bindings takes more than 1 msec

joerghoh commented on pull request #8:
URL: https://github.com/apache/sling-org-apache-sling-scripting-core/pull/8#issuecomment-875333380


   ``System.nanoTime()`` is used heavily within the sling engine (the microseconds in the ``Recent Requests`` are calculated based on this, see [here](https://github.com/apache/sling-org-apache-sling-engine/blob/master/src/main/java/org/apache/sling/engine/impl/request/SlingRequestProgressTracker.java)).
   
   I don't think that on current versions of OSes it is an expensive operation, which should be avoided.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@sling.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org