Issue #285: log performances of script in views and json API in dev mode