Skip to content

Commit 0cf3061

Browse files
authored
New release (#8113)
* update * fix axum * update serverino * fix dockerfile issue for zig * update poteto * update * remove cluster.ts for bun * update resthart version in results * add clustering without pm2 * update * add mapljs * update * update * update * update * update * update spiral
1 parent 23e70f1 commit 0cf3061

File tree

311 files changed

+65334
-66278
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

311 files changed

+65334
-66278
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ jobs:
6161
- name: Wait
6262
run: |
6363
export CID=`cat ${LANGUAGE}/${FRAMEWORK}/cid-${ENGINE}.txt`
64-
until [ "`docker inspect -f {{.State.Health.Status}} ${CID}`" = "healthy" ]; do
64+
until [ "`docker inspect -f {{.State.Health.Status}} ${CID}`" = "healthy" ]; do
6565
echo "Wait for container to be healthy"
66-
sleep 1
66+
sleep 1
6767
done
6868
timeout-minutes: 2
6969
env:

.tasks/collect.rake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ task :collect do
3232
hostname = ENV.fetch('HOSTNAME')
3333
engine = ENV.fetch('ENGINE')
3434

35-
`wrk -H 'Connection: keep-alive' -d 5s -c 8 --timeout 8 -t #{threads} http://#{hostname}:3000`
36-
`wrk -H 'Connection: keep-alive' -d #{duration}s -c 256 --timeout 8 -t #{threads} http://#{hostname}:3000`
35+
`wrk -H 'Connection: close' -d 5s -c 8 --timeout 8 -t #{threads} http://#{hostname}:3000`
36+
`wrk -H 'Connection: close' -d #{duration}s -c 256 --timeout 8 -t #{threads} http://#{hostname}:3000`
3737

3838
db = PG.connect(database)
3939

@@ -65,7 +65,7 @@ task :collect do
6565
concurrency_level_id = res.first['id']
6666

6767
command = format(
68-
"wrk -H 'Connection: keep-alive' --connections %<concurrency>s --threads %<threads>s --duration %<duration>s --timeout 1 --script %<pipeline>s http://%<hostname>s:3000#{uri}", concurrency:, threads:, duration:, pipeline: PIPELINE[method.to_sym], hostname:
68+
"wrk -H 'Connection: close' --connections %<concurrency>s --threads %<threads>s --duration %<duration>s --timeout 1 --script %<pipeline>s http://%<hostname>s:3000#{uri}", concurrency:, threads:, duration:, pipeline: PIPELINE[method.to_sym], hostname:
6969
)
7070

7171
Open3.popen3(command) do |_, stdout, stderr|

CODE_OF_CONDUCT.md

Lines changed: 46 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,45 +2,73 @@
22

33
## Our pledge
44

5-
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
5+
In the interest of fostering an open and welcoming environment, we as
6+
contributors and maintainers pledge to making participation in our project and
7+
our community a harassment-free experience for everyone, regardless of age, body
8+
size, disability, ethnicity, gender identity and expression, level of
9+
experience, nationality, personal appearance, race, religion, or sexual identity
10+
and orientation.
611

712
## Our standards
813

9-
Examples of behavior that contributes to creating a positive environment include:
14+
Examples of behavior that contributes to creating a positive environment
15+
include:
1016

11-
* Using welcoming and inclusive language
12-
* Being respectful of differing viewpoints and experiences
13-
* Gracefully accepting constructive criticism
14-
* Focusing on what is best for the community
15-
* Showing empathy towards other community members
17+
- Using welcoming and inclusive language
18+
- Being respectful of differing viewpoints and experiences
19+
- Gracefully accepting constructive criticism
20+
- Focusing on what is best for the community
21+
- Showing empathy towards other community members
1622

1723
Examples of unacceptable behavior by participants include:
1824

19-
* The use of sexualized language or imagery and unwelcome sexual attention or advances
20-
* Trolling, insulting/derogatory comments, and personal or political attacks
21-
* Public or private harassment
22-
* Publishing others' private information, such as a physical or electronic address, without explicit permission
23-
* Other conduct which could reasonably be considered inappropriate in a professional setting
25+
- The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances
27+
- Trolling, insulting/derogatory comments, and personal or political attacks
28+
- Public or private harassment
29+
- Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission
31+
- Other conduct which could reasonably be considered inappropriate in a
32+
professional setting
2433

2534
## Our responsibilities
2635

27-
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
36+
Project maintainers are responsible for clarifying the standards of acceptable
37+
behavior and are expected to take appropriate and fair corrective action in
38+
response to any instances of unacceptable behavior.
2839

29-
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
40+
Project maintainers have the right and responsibility to remove, edit, or reject
41+
comments, commits, code, wiki edits, issues, and other contributions that are
42+
not aligned to this Code of Conduct, or to ban temporarily or permanently any
43+
contributor for other behaviors that they deem inappropriate, threatening,
44+
offensive, or harmful.
3045

3146
## Scope
3247

33-
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
48+
This Code of Conduct applies both within project spaces and in public spaces
49+
when an individual is representing the project or its community. Examples of
50+
representing a project or community include using an official project e-mail
51+
address, posting via an official social media account, or acting as an appointed
52+
representative at an online or offline event. Representation of a project may be
53+
further defined and clarified by project maintainers.
3454

3555
## Enforcement
3656

37-
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team members. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
57+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58+
reported by contacting the project team members. The project team will review
59+
and investigate all complaints, and will respond in a way that it deems
60+
appropriate to the circumstances. The project team is obligated to maintain
61+
confidentiality with regard to the reporter of an incident. Further details of
62+
specific enforcement policies may be posted separately.
3863

39-
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
64+
Project maintainers who do not follow or enforce the Code of Conduct in good
65+
faith may face temporary or permanent repercussions as determined by other
66+
members of the project's leadership.
4067

4168
## Attribution
4269

43-
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
70+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
71+
version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
4472

4573
<p align="center" style="margin:25px 0 10px">
4674
:zap:

CONTRIBUTING.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,25 @@
22

33
Contributions of any kind a :heart: accepted
44

5-
+ Adding new frameworks
6-
+ Fix some frameworks
7-
+ Update dependencies
8-
+ Discuss best practices
5+
- Adding new frameworks
6+
- Fix some frameworks
7+
- Update dependencies
8+
- Discuss best practices
99

1010
## Adding a framework
1111

12-
+ All frameworks **SHOULD** follow this rules :
12+
- All frameworks **SHOULD** follow this rules :
1313

1414
| HTTP | Route | Status code | Response body |
1515
| ------ | ----------- | ----------- | --------------------- |
1616
| `GET` | `/` | `200` | **Empty** |
1717
| `GET` | `/user/:id` | `200` | **id** given as param |
18-
| `POST` | `/user` | `200` | **Empty**
18+
| `POST` | `/user` | `200` | **Empty** |
1919

20-
+ All framework **SHOULD** contain a `Dockerfile`
20+
- All framework **SHOULD** contain a `Dockerfile`
2121

22-
+ All framework **SHOULD** be referenced in :
23-
+ `Makefile`, a target group for the language, and a target for the framework
24-
+ `neph.yaml`, a target group for the language, and a target for the framework
25-
+ `benchmarker.cr`, a hash for language containing all frameworks an repository information
22+
- All framework **SHOULD** be referenced in :
23+
- `Makefile`, a target group for the language, and a target for the framework
24+
- `neph.yaml`, a target group for the language, and a target for the framework
25+
- `benchmarker.cr`, a hash for language containing all frameworks an
26+
repository information

README.md

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,38 @@
1-
+ `ruby`, all tools are made in `ruby`
1+
- `ruby`, all tools are made in `ruby`
2+
23
```sh
34
sudo dnf install ruby
45
```
5-
+ `wrk`, results are collected using `wrk`
6+
7+
- `wrk`, results are collected using `wrk`
8+
69
```sh
7-
cd `mktemp -d` && git clone https://github.com/wg/wrk -b 4.2.0 . && make && sudo mv cp /usr/bin
10+
cd `mktemp -d` && git clone https://github.com/wg/wrk -b 4.2.0 . && make && sudo mv cp /usr/bin
811
```
9-
+ `postgresql`, results are stored in `postgresql`
12+
13+
- `postgresql`, results are stored in `postgresql`
14+
1015
```sh
1116
sudo dn install postgresql{,-server}
1217
```
13-
+ `docker`, each implementation is implemented in an isolated **container**
14-
+ `jq`, processing `docker` metadata
15-
+ `docker-machine` if you are on `macos`
18+
19+
- `docker`, each implementation is implemented in an isolated **container**
20+
- `jq`, processing `docker` metadata
21+
- `docker-machine` if you are on `macos`
1622

1723
## Usage
1824

19-
+ Setup
25+
- Setup
2026

2127
```
2228
bundle install
2329
bundle exec rake config
2430
```
2531

26-
+ Build
32+
- Build
2733

28-
:warning: On `macos`, you need to use `docker-machine` to allow `docker` usage for each framework :warning:
34+
:warning: On `macos`, you need to use `docker-machine` to allow `docker` usage
35+
for each framework :warning:
2936

3037
```
3138
docker-machine rm default --force
@@ -36,10 +43,10 @@ eval $(docker-machine env default)
3643
```
3744
export FRAMEWORK=php/lumen
3845
cd ${FRAMEWORK}
39-
make -f .Makefile build
46+
make -f .Makefile build
4047
```
4148

42-
+ Run
49+
- Run
4350

4451
```
4552
make -f ${FRAMEWORK}/.Makefile collect

clojure/luminus/resources/docs/docs.md

Lines changed: 33 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ This page will help guide you through the first steps of building your site.
44

55
<p class="title is-5">Why are you seeing this page?</p>
66

7-
The `home-routes` handler in the `luminus.routes.home` namespace
8-
defines the route that invokes the `home-page` function whenever an HTTP
9-
request is made to the `/` URI using the `GET` method.
7+
The `home-routes` handler in the `luminus.routes.home` namespace defines the
8+
route that invokes the `home-page` function whenever an HTTP request is made to
9+
the `/` URI using the `GET` method.
1010

1111
```
1212
(defroutes home-routes
@@ -23,25 +23,27 @@ to render the HTML content:
2323
"home.html" {:docs (-> "docs/docs.md" io/resource slurp)}))
2424
```
2525

26-
The `render` function will render the `home.html` template found in the `resources/templates`
27-
folder using a parameter map containing the `:docs` key. This key points to the
28-
contents of the `resources/docs/docs.md` file containing these instructions.
26+
The `render` function will render the `home.html` template found in the
27+
`resources/templates` folder using a parameter map containing the `:docs` key.
28+
This key points to the contents of the `resources/docs/docs.md` file containing
29+
these instructions.
2930

30-
The HTML templates are written using [Selmer](https://github.com/yogthos/Selmer) templating engine.
31+
The HTML templates are written using [Selmer](https://github.com/yogthos/Selmer)
32+
templating engine.
3133

3234
```
3335
<div class="content">
3436
{{docs|markdown}}
3537
</div>
3638
```
3739

38-
<a class="level-item button" href="http://www.luminusweb.net/docs/html_templating.md">learn more about HTML templating »</a>
39-
40-
40+
<a class="level-item button" href="http://www.luminusweb.net/docs/html_templating.md">learn
41+
more about HTML templating »</a>
4142

4243
<p class="title is-5">Organizing the routes</p>
4344

44-
The routes are aggregated and wrapped with middleware in the `luminus.handler` namespace:
45+
The routes are aggregated and wrapped with middleware in the `luminus.handler`
46+
namespace:
4547

4648
```
4749
(defstate app
@@ -57,30 +59,35 @@ The routes are aggregated and wrapped with middleware in the `luminus.handler` n
5759
:title "page not found"}))))))
5860
```
5961

60-
The `app` definition groups all the routes in the application into a single handler.
61-
A default route group is added to handle the `404` case.
62+
The `app` definition groups all the routes in the application into a single
63+
handler. A default route group is added to handle the `404` case.
6264

63-
<a class="level-item button" href="http://www.luminusweb.net/docs/routes.md">learn more about routing »</a>
65+
<a class="level-item button" href="http://www.luminusweb.net/docs/routes.md">learn
66+
more about routing »</a>
6467

65-
The `home-routes` are wrapped with two middleware functions. The first enables CSRF protection.
66-
The second takes care of serializing and deserializing various encoding formats, such as JSON.
68+
The `home-routes` are wrapped with two middleware functions. The first enables
69+
CSRF protection. The second takes care of serializing and deserializing various
70+
encoding formats, such as JSON.
6771

6872
<p class="title is-5">Managing your middleware</p>
6973

70-
Request middleware functions are located under the `luminus.middleware` namespace.
71-
72-
This namespace is reserved for any custom middleware for the application. Some default middleware is
73-
already defined here. The middleware is assembled in the `wrap-base` function.
74-
75-
Middleware used for development is placed in the `luminus.dev-middleware` namespace found in
76-
the `env/dev/clj/` source path.
77-
78-
<a class="level-item button" href="http://www.luminusweb.net/docs/middleware.md">learn more about middleware »</a>
74+
Request middleware functions are located under the `luminus.middleware`
75+
namespace.
7976

77+
This namespace is reserved for any custom middleware for the application. Some
78+
default middleware is already defined here. The middleware is assembled in the
79+
`wrap-base` function.
8080

81+
Middleware used for development is placed in the `luminus.dev-middleware`
82+
namespace found in the `env/dev/clj/` source path.
8183

84+
<a class="level-item button" href="http://www.luminusweb.net/docs/middleware.md">learn
85+
more about middleware »</a>
8286

8387
<p class="title is-5">Need some help?</p>
8488

8589
Visit the [official documentation](http://www.luminusweb.net/docs) for examples
86-
on how to accomplish common tasks with Luminus. The `#luminus` channel on the [Clojurians Slack](http://clojurians.net/) and [Google Group](https://groups.google.com/forum/#!forum/luminusweb) are both great places to seek help and discuss projects with other users.
90+
on how to accomplish common tasks with Luminus. The `#luminus` channel on the
91+
[Clojurians Slack](http://clojurians.net/) and
92+
[Google Group](https://groups.google.com/forum/#!forum/luminusweb) are both
93+
great places to seek help and discuss projects with other users.
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
{% extends "base.html" %}
2-
{% block content %}
3-
<img src="/img/warning_clojure.png"></img>
4-
{% endblock %}
1+
{% extends "base.html" %} {% block content %}
2+
<img src="/img/warning_clojure.png"></img> {% endblock %}

0 commit comments

Comments
 (0)