This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"TestName": "TCP Client - Server", | |
"Description": "This test creates a simple client and server" | |
}, | |
{ | |
"create": "tcp.server", | |
"name": "serv" | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
oschaaf@duster:~/Code/envoy-filter-example$ taskset -c 0-1 bazel-bin/nighthawk_client --concurrency auto --rps 16000 --duration 10 --connections 1 http://127.0.0.1/ && ./stats.py res.txt benchmark | |
[2019-01-11 19:54:26.360][011596][info][main] [source/exe/client.cc:103] Detected 2 (v)CPUs with affinity.. | |
[2019-01-11 19:54:26.360][011596][info][main] [source/exe/client.cc:106] Starting 2 threads / event loops. | |
[2019-01-11 19:54:26.360][011596][info][main] [source/exe/client.cc:108] Global targets: 2 connections and 32000 calls per second. | |
[2019-01-11 19:54:26.360][011596][info][main] [source/exe/client.cc:112] (Per-worker targets: 1 connections and 16000 calls per second) | |
[2019-01-11 19:54:36.361][011598][info][main] [source/exe/sequencer.cc:41] Sequencer done processing 159921 operations in 10000 ms. (completion rate 15992.1/second.) | |
[2019-01-11 19:54:36.361][011598][info][main] [source/exe/client.cc:168] Connection: connect failures: 0, overflow failures: 0 . Protocol: good 159921 / bad 0 / reset 0 | |
[2019-0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Copyright 2016 Google Inc. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="pt-PT" prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb#"> | |
<head> | |
<meta charset="UTF-8"/> | |
<meta name=viewport content="width=device-width,initial-scale=1,user-scalable=no"> | |
<title>Zappy | Beauti: Marcações Online e Sistema de Agendamento Profissional</title> | |
<link rel="profile" href="http://gmpg.org/xfn/11"/> | |
<link rel="pingback" href="http://zappysoftware.com/xmlrpc.php"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/ngx_pagespeed.cc b/src/ngx_pagespeed.cc | |
index 7649fd6..2af7d17 100644 | |
--- a/src/ngx_pagespeed.cc | |
+++ b/src/ngx_pagespeed.cc | |
@@ -288,7 +288,8 @@ ngx_int_t ps_base_fetch_handler(ngx_http_request_t* r) { | |
if (!status_ok && (ctx->base_fetch->base_fetch_type() != kHtmlTransform | |
&& ctx->base_fetch->base_fetch_type() != kIproLookup)) { | |
ps_release_base_fetch(ctx); | |
- return ngx_http_filter_finalize_request(r, NULL, status_code); | |
+ ngx_http_filter_finalize_request(r, NULL, status_code); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/pagespeed/kernel/cache/file_cache.cc b/pagespeed/kernel/cache/file_cache.cc | |
index 3951c02..f595832 100644 | |
--- a/pagespeed/kernel/cache/file_cache.cc | |
+++ b/pagespeed/kernel/cache/file_cache.cc | |
@@ -304,6 +304,7 @@ void FileCache::CleanWithLocking(int64 next_clean_time_ms) { | |
} | |
bool FileCache::ShouldClean(int64* suggested_next_clean_time_ms) { | |
+ return false; | |
bool to_return = false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Welcome to nginx!</title> | |
<style> | |
body { | |
width: 35em; | |
margin: 0 auto; | |
font-family: Tahoma, Verdana, Arial, sans-serif; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
94784: HTTP2_SESSION | |
192.168.137.10:4430 (DIRECT) | |
Start Time: 2016-04-13 15:01:23.229 | |
t=331196 [st= 0] +HTTP2_SESSION [dt=?] | |
--> host = "192.168.137.10:4430" | |
--> proxy = "DIRECT" | |
t=331196 [st= 0] HTTP2_SESSION_INITIALIZED | |
--> protocol = "h2" | |
--> source_dependency = 94783 (SOCKET) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2016/04/13 13:52:18 [debug] 27207#0: *82 post event 0000000001EBF120 | |
2016/04/13 13:52:18 [debug] 27207#0: posted event 0000000001EBF120 | |
2016/04/13 13:52:18 [debug] 27207#0: *82 delete posted event 0000000001EBF120 | |
2016/04/13 13:52:18 [debug] 27207#0: *82 http2 handle connection handler | |
2016/04/13 13:52:18 [debug] 27207#0: *82 free: 0000000001E6DC70, unused: 3496 | |
2016/04/13 13:52:18 [debug] 27207#0: *82 free: 0000000001EEF080 | |
2016/04/13 13:52:18 [debug] 27207#0: *82 reusable connection: 1 | |
2016/04/13 13:52:18 [debug] 27207#0: *82 event timer add: 9: 180000:1460548518022 | |
2016/04/13 13:52:18 [debug] 27207#0: worker cycle | |
2016/04/13 13:52:18 [debug] 27207#0: epoll timer: 180000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2016/04/13 13:45:42 [debug] 27207#0: *2 SSL_write: 13 | |
2016/04/13 13:45:42 [debug] 27207#0: *2 http2 frame sent: 0000000001E6DEC8 sid:0 bl:0 len:4 | |
2016/04/13 13:45:42 [debug] 27207#0: *2 free: 0000000001E6DC70, unused: 3320 | |
2016/04/13 13:45:42 [debug] 27207#0: *2 free: 0000000001EEF080 | |
2016/04/13 13:45:42 [debug] 27207#0: *2 reusable connection: 1 | |
2016/04/13 13:45:42 [debug] 27207#0: *2 event timer del: 9: 1460548122266 | |
2016/04/13 13:45:42 [debug] 27207#0: *2 event timer add: 9: 180000:1460548122683 | |
2016/04/13 13:45:42 [debug] 27207#0: timer delta: 417 | |
2016/04/13 13:45:42 [debug] 27207#0: worker cycle | |
2016/04/13 13:45:42 [debug] 27207#0: epoll timer: 180000 |