Skip to content

Commit b590538

Browse files
committed
同步春哥最新文档
1 parent eb2f6d6 commit b590538

12 files changed

+2322
-2
lines changed

org_agentzh/book.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"author": "Yichun Zhang <agentzh@openresty.org>",
3+
"description": "Official Guide on OpenResty Programming",
4+
"generator": "site",
5+
"links": {
6+
"sidebar": {
7+
"About The Author": "http://agentzh.org/",
8+
"OpenResty Home": "https://openresty.org"
9+
}
10+
}
11+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
set terminal pngcairo noenhanced background "#ffffff" fontscale 1.0 size 800, 500 enhanced
2+
3+
set encoding utf8
4+
set boxwidth 1
5+
set grid
6+
set output "images/check-leak-pkg-path-gc.png"
7+
8+
set xlabel "Elapsed Time (sec)"
9+
set ylabel "Memory Footprint (KB)"
10+
set yrange [1500:7700]
11+
set xrange [0:2.1]
12+
set style line 1 lc rgb '#009900' lt 1 lw 2 pt 7 ps 1
13+
plot 'images/check-leak-pkg-path-gc.dat' title '' with linespoints ls 1
28.6 KB
Loading
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
set terminal pngcairo noenhanced background "#ffffff" fontscale 1.0 size 800, 500 enhanced
2+
3+
set encoding utf8
4+
set boxwidth 1
5+
set grid
6+
set output "images/check-leak-pkg-path.png"
7+
8+
set xlabel "Elapsed Time (sec)"
9+
set ylabel "Memory Footprint (KB)"
10+
set yrange [1500:7700]
11+
set xrange [0:2.1]
12+
set style line 1 lc rgb '#009900' lt 1 lw 2 pt 7 ps 1
13+
plot 'images/check-leak-pkg-path.dat' title '' with linespoints ls 1
44.1 KB
Loading

org_agentzh/testing/preparing-tests.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ the `pipelined_requests` section instead of `request`. For instance,
152152
--- pipelined_requests eval
153153
["GET /t", "GET /t"]
154154
155-
--- request_body eval
156-
["ok", "ok"]
155+
--- response_body eval
156+
["ok\n", "ok\n"]
157157
----
158158

159159
It is worth noting that we use the `eval` filter with the `pipelined_requests`

0 commit comments

Comments
 (0)