About website sitemap(.xml)

Sitemap is a xml format document that lists URLs with metadata in websites, originally introduced in 2005 by Google, and now supported by all the well-known search engines, which can help webmasters to inform search engines about the pages on their sites that are available for crawling, so it’s also an important part of SEO(Search Engine Optimization).

The metadata in the sitemap of a certain URL contains the last updated datetime, the frequency of page changes, importance, relative to other URLs in the site, than makes search engines more intelligently crawl and display the site.

Sitemap example – https://www.peterdavehello.org/sitemap.xml

For more details:

Do not have sitemap for your website? Try some sitemap generators:

If you are using WordPress as I do, try to use a sitemap plugin:

(The Jetpack by WordPress.com official plugin also provides sitemap feature)

Don’t forget to validate your sitemap, these sitemap validators can help webmasters to validate the sitemap of websites:

G.E.M. 鄧紫棋 – 喜歡你

出自 G.E.M. 鄧紫棋 2014 年的 喜歡你

細雨帶風濕透黃昏的街道
抹去雨水雙眼無故地仰望
望向孤單的晚燈 是那傷感的記憶

再次泛起心裡無數的思念
以往片刻歡笑仍掛在臉上
願你此刻可會知 是我衷心的說聲

喜歡你 那雙眼動人 笑聲更迷人
願再可 輕撫你那可愛面容 挽手說夢話
像昨天 你共我

滿帶理想的我曾經多衝動
屢怨與她相愛難有自由
願你此刻可會知 是我衷心的說聲

喜歡你 那雙眼動人 笑聲更迷人
願再可 輕撫你那可愛面容 挽手說夢話
像昨天 你共我

每晚夜裡自我獨行
隨處蕩 多冰冷
以往為了自我掙扎
從不知 她的痛苦

歌詞取自 Mojim 魔鏡歌詞網 https://mojim.com/tw105703x19.htm

The difference of performance between 3 versions of Raspberry Pi, the comparison.

I have the basic benckmarks for Raspberry Pi version 1, 2 and 3, and here is the comparison, all the benchmarks on different Pis are using the same operating system / package, so there won’t be a difference from the version of software.

The testing platform:

RASPBIAN JESSIE
Version: February 2016
Release date: 2016-02-26
Kernel version: 4.1

Since I just did these benchmarks on Raspberry Pi 3:

https://www.peterdavehello.org/2016/03/raspberry-pi-3-model-b-basic-benchmarks/

The Raspbian and all the softwares are up to date, so the benchmark results of Raspberry Pi 3 are just copied from that post, they are the same result. The results from Pi 1/2 are whole new tested, in fact they are very close to the test results I did before, I would say they are all in the tolerance scope, so I’ll just ignore the detail of the benchmarks, only focus on the final results, the performance.

PHP benchmark Script using PHP 5.6.17-0+deb8u1: (in secs, the lower the better)
Raspberry Pi model B+ – 141.145
Raspberry Pi 2 model B – 48.113, 293% faster than Pi 1
Raspberry Pi 3 model B – 26.984, 523% faster than Pi 1, 178% faster than Pi 2

PHP benchmark Script using PHP 7.0.3-5: (in secs, the lower the better)
Raspberry Pi model B+ – 48.153
Raspberry Pi 2 model B – 17.27, 279% faster than Pi 1
Raspberry Pi 3 model B – 10.239, 470% faster than Pi 1, 169% faster than Pi 2

sysbench v0.4.12 single thread: (cpumaxprime=20000,in secs, the lower the better)
Raspberry Pi model B+ – 1332.0115
Raspberry Pi 2 model B – 765.2441, 174% faster than Pi 1
Raspberry Pi 3 model B – 478.0941, 748% faster than Pi 1, 160% faster than Pi 2

閱讀全文

Raspberry Pi 3 model B basic benchmarks

As the benchmarks I ran on Raspberry Pi B+ and Raspberry Pi 2 model B, let’s do some basic benchmarks on the latest Raspberry Pi 3.

Let’s have some photos first:

My Raspberry Pi 3 crashed during the benchmarking … so I just added a heat sink on it …

See:

This is the testing platform:

RASPBIAN JESSIE
Version: February 2016
Release date: 2016-02-26
Kernel version: 4.1

Here are the benchmarks result:

PHP benchmark Script using PHP 5.6.17:

--------------------------------------                                                     
|        PHP BENCHMARK SCRIPT        |                                                          
--------------------------------------                                                          
Start : 2016-03-06 09:32:58                                                                     
Server : @                                                                                      
PHP version : 5.6.17-0+deb8u1                                                                   
Platform : Linux                                                                                
--------------------------------------                                                          
test_math                 : 9.073 sec.                                                          
test_stringmanipulation   : 9.203 sec.                                                          
test_loops                : 4.945 sec.                                                          
test_ifelse               : 3.763 sec.                                                          
--------------------------------------                                                          
Total time:               : 26.984 sec.

閱讀全文