Browse Source

Minor updates (#4800)

* Refactored the entire code to add add database bound handlers

* Updated `.travis.yml`

* Replaced the Dockerfile to update the dependencies (Linux, Roswell, Quicklibs, SBCL, …) to the (al)most recent versions

* Updated the Dockerfile. Reduced the image size from 491MB to 255MB

* Updated the Dockerfile again. Reduced the image size from 255MB to 191MB

* Optimised the code: The handler is now way more readable and even slightly faster albeit not much. Two libraries removed. I instructed the compiler to optimise for maximum speed.

This commit shoves another MB from the Docker image ;-)

* Started to add the Racket servlet framework to the TFB

* Finished adding the Racket servlet framework to the TFB

* Added Racket to `.travis.yml`

* Updated the Racket servlet framework to the TFB

* Fixed the Racket servlet framework to the TFB

* Updated the Racket servlet framework to the TFB to use a connection pool

* Added Ningle and Ninglex to the TFB

* Trying to fix `ninglex.dockerfile` not building in TFB`s Travis

* Updated `.travis.yml` for separate error reports per Lisp framework

* Uncommented `(declaim (optimize (debug 0) (safety 0) (speed 3)))`

* Refactored `ninglex.dockerfile`

* Fixed a regression only seen on TFB’s Travis:

```
query-value: query returned wrong number of rows
  statement: "select randomnumber from world where id = $1"
  expected: 1
  got: 0
```

* Add Agoo - a High Performance HTTP Server for Ruby <https://github.com/ohler55/agoo>

* Updated `.travis.yml` as per request. Moved Racket into a separate directory. Common Lisp and Racket Scheme are quite different things and their `dockerfile`s reflect that

* Updated the `benchmark_config.json`s to reflect the proper name of the programming language used: Common Lisp

* Moved Racket into a separate directory, second take ;-)

* Updated the `Dockerfile`s of single, mingled and woo

* Uncommented `(declaim (optimize (debug 0) (safety 0) (speed 3)))`

* Updated Racket to version 7.3
Gert Thiel 6 years ago
parent
commit
f2bed192e6

+ 3 - 3
frameworks/Lisp/ningle/ningle.dockerfile

@@ -17,10 +17,10 @@ RUN apt-get update -q \
          ca-certificates curl libcurl3-gnutls \
          make \
     && rm -rf /var/lib/apt/lists/* \
-    && curl -L -O https://github.com/roswell/roswell/releases/download/v19.4.10.98/roswell_19.4.10.98-1_amd64.deb \
-    && dpkg -i roswell_19.4.10.98-1_amd64.deb \
+    && curl -L -O https://github.com/roswell/roswell/releases/download/v19.05.10.99/roswell_19.05.10.99-1_amd64.deb \
+    && dpkg -i roswell_19.05.10.99-1_amd64.deb \
     && ros setup \
-    && rm roswell_19.4.10.98-1_amd64.deb
+    && rm roswell_19.05.10.99-1_amd64.deb
 
 RUN echo 'export PATH=$HOME/.roswell/bin:$PATH' >> ~/.bashrc
 

+ 1 - 1
frameworks/Lisp/ningle/ningle.ros

@@ -26,7 +26,7 @@ exec ros -Q -- $0 "$@"
 (use-package :ningle)
 
 
-;(declaim (optimize (debug 0) (safety 0) (speed 3)))
+(declaim (optimize (debug 0) (safety 0) (speed 3)))
 
 
 (load "./helpers/starts-with.lisp")

+ 3 - 3
frameworks/Lisp/ninglex/ninglex.dockerfile

@@ -17,10 +17,10 @@ RUN apt-get update -q \
          ca-certificates curl libcurl3-gnutls \
          make \
     && rm -rf /var/lib/apt/lists/* \
-    && curl -L -O https://github.com/roswell/roswell/releases/download/v19.4.10.98/roswell_19.4.10.98-1_amd64.deb \
-    && dpkg -i roswell_19.4.10.98-1_amd64.deb \
+    && curl -L -O https://github.com/roswell/roswell/releases/download/v19.05.10.99/roswell_19.05.10.99-1_amd64.deb \
+    && dpkg -i roswell_19.05.10.99-1_amd64.deb \
     && ros setup \
-    && rm roswell_19.4.10.98-1_amd64.deb
+    && rm roswell_19.05.10.99-1_amd64.deb
 
 RUN echo 'export PATH=$HOME/.roswell/bin:$PATH' >> ~/.bashrc
 

+ 3 - 3
frameworks/Lisp/woo/woo.dockerfile

@@ -17,10 +17,10 @@ RUN apt-get update -q \
          ca-certificates curl libcurl3-gnutls \
          make \
     && rm -rf /var/lib/apt/lists/* \
-    && curl -L -O https://github.com/roswell/roswell/releases/download/v19.4.10.98/roswell_19.4.10.98-1_amd64.deb \
-    && dpkg -i roswell_19.4.10.98-1_amd64.deb \
+    && curl -L -O https://github.com/roswell/roswell/releases/download/v19.05.10.99/roswell_19.05.10.99-1_amd64.deb \
+    && dpkg -i roswell_19.05.10.99-1_amd64.deb \
     && ros setup \
-    && rm roswell_19.4.10.98-1_amd64.deb
+    && rm roswell_19.05.10.99-1_amd64.deb
 
 RUN echo 'export PATH=$HOME/.roswell/bin:$PATH' >> ~/.bashrc
 

+ 1 - 1
frameworks/Racket/racket/racket.dockerfile

@@ -11,7 +11,7 @@ RUN echo 'APT::Get::Install-Recommends "false";' > /etc/apt/apt.conf.d/00-genera
 
 FROM debian AS racket
 
-ARG RACKET_VERSION=7.2
+ARG RACKET_VERSION=7.3
 
 RUN apt-get update -q \
     && apt-get install --no-install-recommends -q -y \