You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2019/07/05 13:44:13 UTC

[sling-whiteboard] branch master updated: Mention 'docker events'

This is an automated email from the ASF dual-hosted git repository.

bdelacretaz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-whiteboard.git


The following commit(s) were added to refs/heads/master by this push:
     new c9e6ce8  Mention 'docker events'
c9e6ce8 is described below

commit c9e6ce8cd6fa86f73d33a1291a8366550f99f82b
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Fri Jul 5 15:44:01 2019 +0200

    Mention 'docker events'
---
 graalvm/time-to-first-request/README.md | 2 ++
 graalvm/time-to-first-request/index.js  | 3 +++
 2 files changed, 5 insertions(+)

diff --git a/graalvm/time-to-first-request/README.md b/graalvm/time-to-first-request/README.md
index 46eba88..cf5154a 100644
--- a/graalvm/time-to-first-request/README.md
+++ b/graalvm/time-to-first-request/README.md
@@ -5,3 +5,5 @@ An HTTP proxy written in NodeJS that starts our
 native image container on demand when an HTTP request is received.
 
 Used to measure the time-to-first-request on our native image.
+
+See [index.js](./index.js) for more details.
diff --git a/graalvm/time-to-first-request/index.js b/graalvm/time-to-first-request/index.js
index fc00277..97764e3 100644
--- a/graalvm/time-to-first-request/index.js
+++ b/graalvm/time-to-first-request/index.js
@@ -11,6 +11,9 @@
 // so the reported time is a realistic "time to first request" 
 // value.
 //
+// The "docker events" command also provides useful information
+// in terms of container startup time.
+//
 const http = require('http');
 const httpProxy = require('http-proxy');
 const { Docker } = require('docker-cli-js');