-
Notifications
You must be signed in to change notification settings - Fork 11
Conversation
I have uploaded my version on my server, so you can compare the changes: A small benchmark shows that the speed didn't really change: 1c1
< ➜ ~ ab -n 20 https://issues.lw1.at/8392
---
> ➜ ~ ab -n 20 https://issues.piwik.org/8392
6c6
< Benchmarking issues.lw1.at (be patient).....done
---
> Benchmarking issues.piwik.org (be patient).....done
9,10c9,10
< Server Software: nginx/1.13.3
< Server Hostname: issues.lw1.at
---
> Server Software: Apache/2.2
> Server Hostname: issues.piwik.org
12,13c12,13
< SSL/TLS Protocol: TLSv1.2,ECDHE-RSA-AES256-GCM-SHA384,2048,256
< TLS Server Name: issues.lw1.at
---
> SSL/TLS Protocol: TLSv1.2,ECDHE-RSA-AES128-GCM-SHA256,2048,128
> TLS Server Name: issues.piwik.org
16c16
< Document Length: 36974 bytes
---
> Document Length: 22346 bytes
19c19
< Time taken for tests: 5.711 seconds
---
> Time taken for tests: 6.520 seconds
22,27c22,27
< Total transferred: 744040 bytes
< HTML transferred: 739480 bytes
< Requests per second: 3.50 [#/sec] (mean)
< Time per request: 285.534 [ms] (mean)
< Time per request: 285.534 [ms] (mean, across all concurrent requests)
< Transfer rate: 127.24 [Kbytes/sec] received
---
> Total transferred: 450140 bytes
> HTML transferred: 446920 bytes
> Requests per second: 3.07 [#/sec] (mean)
> Time per request: 325.987 [ms] (mean)
> Time per request: 325.987 [ms] (mean, across all concurrent requests)
> Transfer rate: 67.42 [Kbytes/sec] received
31,34c31,34
< Connect: 80 106 59.0 83 279
< Processing: 138 179 47.3 169 295
< Waiting: 128 159 30.5 159 267
< Total: 220 285 98.7 256 574
---
> Connect: 96 100 1.7 100 104
> Processing: 138 226 67.4 214 378
> Waiting: 102 190 67.7 179 343
> Total: 237 326 67.8 315 479
37,45c37,45
< 50% 256
< 66% 259
< 75% 269
< 80% 349
< 90% 528
< 95% 574
< 98% 574
< 99% 574
< 100% 574 (longest request)
---
> 50% 315
> 66% 359
> 75% 375
> 80% 377
> 90% 441
> 95% 479
> 98% 479
> 99% 479
> 100% 479 (longest request) |
@Findus23 Great to see your work on this project. When you're ready to deploy this ping me and we can make it happen 👍 |
Thanks, tomorrow I’ll look over the changes again, so this should soon be ready to merge. Any more wishes while I am working on it? I think you’ll need to put html before htm as otherwise i think it gets partially matched. |
Another couple feature requests in case it's do-able:
|
Seems like I already fixed that. The new Markdown parser is more Github-like and automatically links all URLs in the text. (and i think
That was an easy change (067abc9), but it means that we need to delete all data in /data/pages/ |
@mattab, If nobody else has another suggestion, I am ready for merging. |
It now even works in IE 11 |
Awesome @Findus23 Deployed it on issues.piwik.org Had to run the following commands:
Also updated PHP to 7.1.8 |
While going through the code for #9 I noticed that some dependencies are outdated.
I made those changes:
Everything seems to work, but I'll need to do more testing and more cleanup.