diff --git a/http-performance/httpserver.py b/http-performance/httpserver.py new file mode 100644 index 0000000..0c65807 --- /dev/null +++ b/http-performance/httpserver.py @@ -0,0 +1,31 @@ +import os +from http.server import SimpleHTTPRequestHandler, HTTPServer +from urllib.parse import urlparse + +class JPEGRequestHandler(SimpleHTTPRequestHandler): + def do_GET(self): + url = urlparse(self.path) + path = url.path + if path.endswith('.jpg'): + file_path = path[1:] + + if os.path.isfile(file_path): + self.send_response(200) + self.send_header('Content-Type', 'image/jpeg') + self.end_headers() + + with open(file_path, 'rb') as file: + self.wfile.write(file.read()) + else: + self.send_error(404, 'File not found') + else: + self.send_error(403, 'Only .jpg files are allowed') + +def run(server_class=HTTPServer, handler_class=JPEGRequestHandler, port=8000): + server_address = ('', port) + httpd = server_class(server_address, handler_class) + print(f'Serving JPEGs on port {port}...') + httpd.serve_forever() + +if __name__ == '__main__': + run() \ No newline at end of file diff --git a/http-performance/index.html b/http-performance/index.html new file mode 100644 index 0000000..cbd847e --- /dev/null +++ b/http-performance/index.html @@ -0,0 +1,146 @@ + + + + + + D3.js Image Loading Time Graph + + + + +
+
+ + + diff --git a/http-performance/kublai0.jpg b/http-performance/kublai0.jpg new file mode 100644 index 0000000..c221161 Binary files /dev/null and b/http-performance/kublai0.jpg differ diff --git a/http-performance/kublai1.jpg b/http-performance/kublai1.jpg new file mode 100644 index 0000000..1bebfdf Binary files /dev/null and b/http-performance/kublai1.jpg differ diff --git a/http-performance/kublai10.jpg b/http-performance/kublai10.jpg new file mode 100644 index 0000000..4cff735 Binary files /dev/null and b/http-performance/kublai10.jpg differ diff --git a/http-performance/kublai100.jpg b/http-performance/kublai100.jpg new file mode 100644 index 0000000..66be424 Binary files /dev/null and b/http-performance/kublai100.jpg differ diff --git a/http-performance/kublai101.jpg b/http-performance/kublai101.jpg new file mode 100644 index 0000000..8398c0d Binary files /dev/null and b/http-performance/kublai101.jpg differ diff --git a/http-performance/kublai102.jpg b/http-performance/kublai102.jpg new file mode 100644 index 0000000..a023889 Binary files /dev/null and b/http-performance/kublai102.jpg differ diff --git a/http-performance/kublai103.jpg b/http-performance/kublai103.jpg new file mode 100644 index 0000000..b28b50f Binary files /dev/null and b/http-performance/kublai103.jpg differ diff --git a/http-performance/kublai104.jpg b/http-performance/kublai104.jpg new file mode 100644 index 0000000..0e21ce5 Binary files /dev/null and b/http-performance/kublai104.jpg differ diff --git a/http-performance/kublai105.jpg b/http-performance/kublai105.jpg new file mode 100644 index 0000000..d2b7d66 Binary files /dev/null and b/http-performance/kublai105.jpg differ diff --git a/http-performance/kublai106.jpg b/http-performance/kublai106.jpg new file mode 100644 index 0000000..b8c1059 Binary files /dev/null and b/http-performance/kublai106.jpg differ diff --git a/http-performance/kublai107.jpg b/http-performance/kublai107.jpg new file mode 100644 index 0000000..fa78192 Binary files /dev/null and b/http-performance/kublai107.jpg differ diff --git a/http-performance/kublai108.jpg b/http-performance/kublai108.jpg new file mode 100644 index 0000000..5442277 Binary files /dev/null and b/http-performance/kublai108.jpg differ diff --git a/http-performance/kublai109.jpg b/http-performance/kublai109.jpg new file mode 100644 index 0000000..e3146d5 Binary files /dev/null and b/http-performance/kublai109.jpg differ diff --git a/http-performance/kublai11.jpg b/http-performance/kublai11.jpg new file mode 100644 index 0000000..524bb83 Binary files /dev/null and b/http-performance/kublai11.jpg differ diff --git a/http-performance/kublai110.jpg b/http-performance/kublai110.jpg new file mode 100644 index 0000000..39394ca Binary files /dev/null and b/http-performance/kublai110.jpg differ diff --git a/http-performance/kublai111.jpg b/http-performance/kublai111.jpg new file mode 100644 index 0000000..4829bc7 Binary files /dev/null and b/http-performance/kublai111.jpg differ diff --git a/http-performance/kublai112.jpg b/http-performance/kublai112.jpg new file mode 100644 index 0000000..e810ddb Binary files /dev/null and b/http-performance/kublai112.jpg differ diff --git a/http-performance/kublai113.jpg b/http-performance/kublai113.jpg new file mode 100644 index 0000000..188950c Binary files /dev/null and b/http-performance/kublai113.jpg differ diff --git a/http-performance/kublai114.jpg b/http-performance/kublai114.jpg new file mode 100644 index 0000000..1db168d Binary files /dev/null and b/http-performance/kublai114.jpg differ diff --git a/http-performance/kublai115.jpg b/http-performance/kublai115.jpg new file mode 100644 index 0000000..3e706e9 Binary files /dev/null and b/http-performance/kublai115.jpg differ diff --git a/http-performance/kublai116.jpg b/http-performance/kublai116.jpg new file mode 100644 index 0000000..652824e Binary files /dev/null and b/http-performance/kublai116.jpg differ diff --git a/http-performance/kublai117.jpg b/http-performance/kublai117.jpg new file mode 100644 index 0000000..47cbbed Binary files /dev/null and b/http-performance/kublai117.jpg differ diff --git a/http-performance/kublai118.jpg b/http-performance/kublai118.jpg new file mode 100644 index 0000000..175069a Binary files /dev/null and b/http-performance/kublai118.jpg differ diff --git a/http-performance/kublai12.jpg b/http-performance/kublai12.jpg new file mode 100644 index 0000000..4dc3d01 Binary files /dev/null and b/http-performance/kublai12.jpg differ diff --git a/http-performance/kublai13.jpg b/http-performance/kublai13.jpg new file mode 100644 index 0000000..58611a0 Binary files /dev/null and b/http-performance/kublai13.jpg differ diff --git a/http-performance/kublai14.jpg b/http-performance/kublai14.jpg new file mode 100644 index 0000000..d305077 Binary files /dev/null and b/http-performance/kublai14.jpg differ diff --git a/http-performance/kublai15.jpg b/http-performance/kublai15.jpg new file mode 100644 index 0000000..7ee3586 Binary files /dev/null and b/http-performance/kublai15.jpg differ diff --git a/http-performance/kublai16.jpg b/http-performance/kublai16.jpg new file mode 100644 index 0000000..0c09cdd Binary files /dev/null and b/http-performance/kublai16.jpg differ diff --git a/http-performance/kublai17.jpg b/http-performance/kublai17.jpg new file mode 100644 index 0000000..71d7c35 Binary files /dev/null and b/http-performance/kublai17.jpg differ diff --git a/http-performance/kublai18.jpg b/http-performance/kublai18.jpg new file mode 100644 index 0000000..8a8e167 Binary files /dev/null and b/http-performance/kublai18.jpg differ diff --git a/http-performance/kublai19.jpg b/http-performance/kublai19.jpg new file mode 100644 index 0000000..708da28 Binary files /dev/null and b/http-performance/kublai19.jpg differ diff --git a/http-performance/kublai2.jpg b/http-performance/kublai2.jpg new file mode 100644 index 0000000..98b1716 Binary files /dev/null and b/http-performance/kublai2.jpg differ diff --git a/http-performance/kublai20.jpg b/http-performance/kublai20.jpg new file mode 100644 index 0000000..f882fe5 Binary files /dev/null and b/http-performance/kublai20.jpg differ diff --git a/http-performance/kublai21.jpg b/http-performance/kublai21.jpg new file mode 100644 index 0000000..7f38935 Binary files /dev/null and b/http-performance/kublai21.jpg differ diff --git a/http-performance/kublai22.jpg b/http-performance/kublai22.jpg new file mode 100644 index 0000000..09f52c5 Binary files /dev/null and b/http-performance/kublai22.jpg differ diff --git a/http-performance/kublai23.jpg b/http-performance/kublai23.jpg new file mode 100644 index 0000000..f3b3816 Binary files /dev/null and b/http-performance/kublai23.jpg differ diff --git a/http-performance/kublai24.jpg b/http-performance/kublai24.jpg new file mode 100644 index 0000000..56970bf Binary files /dev/null and b/http-performance/kublai24.jpg differ diff --git a/http-performance/kublai25.jpg b/http-performance/kublai25.jpg new file mode 100644 index 0000000..ed61546 Binary files /dev/null and b/http-performance/kublai25.jpg differ diff --git a/http-performance/kublai26.jpg b/http-performance/kublai26.jpg new file mode 100644 index 0000000..8aa1229 Binary files /dev/null and b/http-performance/kublai26.jpg differ diff --git a/http-performance/kublai27.jpg b/http-performance/kublai27.jpg new file mode 100644 index 0000000..8529618 Binary files /dev/null and b/http-performance/kublai27.jpg differ diff --git a/http-performance/kublai28.jpg b/http-performance/kublai28.jpg new file mode 100644 index 0000000..4009cd3 Binary files /dev/null and b/http-performance/kublai28.jpg differ diff --git a/http-performance/kublai29.jpg b/http-performance/kublai29.jpg new file mode 100644 index 0000000..b2c88fc Binary files /dev/null and b/http-performance/kublai29.jpg differ diff --git a/http-performance/kublai3.jpg b/http-performance/kublai3.jpg new file mode 100644 index 0000000..98723b9 Binary files /dev/null and b/http-performance/kublai3.jpg differ diff --git a/http-performance/kublai30.jpg b/http-performance/kublai30.jpg new file mode 100644 index 0000000..3be8953 Binary files /dev/null and b/http-performance/kublai30.jpg differ diff --git a/http-performance/kublai31.jpg b/http-performance/kublai31.jpg new file mode 100644 index 0000000..7cd6b7d Binary files /dev/null and b/http-performance/kublai31.jpg differ diff --git a/http-performance/kublai32.jpg b/http-performance/kublai32.jpg new file mode 100644 index 0000000..af5befa Binary files /dev/null and b/http-performance/kublai32.jpg differ diff --git a/http-performance/kublai33.jpg b/http-performance/kublai33.jpg new file mode 100644 index 0000000..46e86e2 Binary files /dev/null and b/http-performance/kublai33.jpg differ diff --git a/http-performance/kublai34.jpg b/http-performance/kublai34.jpg new file mode 100644 index 0000000..4c73d4a Binary files /dev/null and b/http-performance/kublai34.jpg differ diff --git a/http-performance/kublai35.jpg b/http-performance/kublai35.jpg new file mode 100644 index 0000000..0ca3afd Binary files /dev/null and b/http-performance/kublai35.jpg differ diff --git a/http-performance/kublai36.jpg b/http-performance/kublai36.jpg new file mode 100644 index 0000000..1fb1061 Binary files /dev/null and b/http-performance/kublai36.jpg differ diff --git a/http-performance/kublai37.jpg b/http-performance/kublai37.jpg new file mode 100644 index 0000000..83e8577 Binary files /dev/null and b/http-performance/kublai37.jpg differ diff --git a/http-performance/kublai38.jpg b/http-performance/kublai38.jpg new file mode 100644 index 0000000..fc17570 Binary files /dev/null and b/http-performance/kublai38.jpg differ diff --git a/http-performance/kublai39.jpg b/http-performance/kublai39.jpg new file mode 100644 index 0000000..f426f5c Binary files /dev/null and b/http-performance/kublai39.jpg differ diff --git a/http-performance/kublai4.jpg b/http-performance/kublai4.jpg new file mode 100644 index 0000000..e08fc25 Binary files /dev/null and b/http-performance/kublai4.jpg differ diff --git a/http-performance/kublai40.jpg b/http-performance/kublai40.jpg new file mode 100644 index 0000000..c97b540 Binary files /dev/null and b/http-performance/kublai40.jpg differ diff --git a/http-performance/kublai41.jpg b/http-performance/kublai41.jpg new file mode 100644 index 0000000..e5d6b42 Binary files /dev/null and b/http-performance/kublai41.jpg differ diff --git a/http-performance/kublai42.jpg b/http-performance/kublai42.jpg new file mode 100644 index 0000000..46dd8ed Binary files /dev/null and b/http-performance/kublai42.jpg differ diff --git a/http-performance/kublai43.jpg b/http-performance/kublai43.jpg new file mode 100644 index 0000000..d973532 Binary files /dev/null and b/http-performance/kublai43.jpg differ diff --git a/http-performance/kublai44.jpg b/http-performance/kublai44.jpg new file mode 100644 index 0000000..d263075 Binary files /dev/null and b/http-performance/kublai44.jpg differ diff --git a/http-performance/kublai45.jpg b/http-performance/kublai45.jpg new file mode 100644 index 0000000..9c925df Binary files /dev/null and b/http-performance/kublai45.jpg differ diff --git a/http-performance/kublai46.jpg b/http-performance/kublai46.jpg new file mode 100644 index 0000000..54799a3 Binary files /dev/null and b/http-performance/kublai46.jpg differ diff --git a/http-performance/kublai47.jpg b/http-performance/kublai47.jpg new file mode 100644 index 0000000..203304b Binary files /dev/null and b/http-performance/kublai47.jpg differ diff --git a/http-performance/kublai48.jpg b/http-performance/kublai48.jpg new file mode 100644 index 0000000..6504dac Binary files /dev/null and b/http-performance/kublai48.jpg differ diff --git a/http-performance/kublai49.jpg b/http-performance/kublai49.jpg new file mode 100644 index 0000000..d5bbaaa Binary files /dev/null and b/http-performance/kublai49.jpg differ diff --git a/http-performance/kublai5.jpg b/http-performance/kublai5.jpg new file mode 100644 index 0000000..18a33ea Binary files /dev/null and b/http-performance/kublai5.jpg differ diff --git a/http-performance/kublai50.jpg b/http-performance/kublai50.jpg new file mode 100644 index 0000000..48f4501 Binary files /dev/null and b/http-performance/kublai50.jpg differ diff --git a/http-performance/kublai51.jpg b/http-performance/kublai51.jpg new file mode 100644 index 0000000..b998ec0 Binary files /dev/null and b/http-performance/kublai51.jpg differ diff --git a/http-performance/kublai52.jpg b/http-performance/kublai52.jpg new file mode 100644 index 0000000..59feca3 Binary files /dev/null and b/http-performance/kublai52.jpg differ diff --git a/http-performance/kublai53.jpg b/http-performance/kublai53.jpg new file mode 100644 index 0000000..a383726 Binary files /dev/null and b/http-performance/kublai53.jpg differ diff --git a/http-performance/kublai54.jpg b/http-performance/kublai54.jpg new file mode 100644 index 0000000..df8e098 Binary files /dev/null and b/http-performance/kublai54.jpg differ diff --git a/http-performance/kublai55.jpg b/http-performance/kublai55.jpg new file mode 100644 index 0000000..cce086e Binary files /dev/null and b/http-performance/kublai55.jpg differ diff --git a/http-performance/kublai56.jpg b/http-performance/kublai56.jpg new file mode 100644 index 0000000..331860c Binary files /dev/null and b/http-performance/kublai56.jpg differ diff --git a/http-performance/kublai57.jpg b/http-performance/kublai57.jpg new file mode 100644 index 0000000..c6d1919 Binary files /dev/null and b/http-performance/kublai57.jpg differ diff --git a/http-performance/kublai58.jpg b/http-performance/kublai58.jpg new file mode 100644 index 0000000..ea33762 Binary files /dev/null and b/http-performance/kublai58.jpg differ diff --git a/http-performance/kublai59.jpg b/http-performance/kublai59.jpg new file mode 100644 index 0000000..5e570cf Binary files /dev/null and b/http-performance/kublai59.jpg differ diff --git a/http-performance/kublai6.jpg b/http-performance/kublai6.jpg new file mode 100644 index 0000000..6ae9625 Binary files /dev/null and b/http-performance/kublai6.jpg differ diff --git a/http-performance/kublai60.jpg b/http-performance/kublai60.jpg new file mode 100644 index 0000000..f1262d3 Binary files /dev/null and b/http-performance/kublai60.jpg differ diff --git a/http-performance/kublai61.jpg b/http-performance/kublai61.jpg new file mode 100644 index 0000000..59588d5 Binary files /dev/null and b/http-performance/kublai61.jpg differ diff --git a/http-performance/kublai62.jpg b/http-performance/kublai62.jpg new file mode 100644 index 0000000..7f37d70 Binary files /dev/null and b/http-performance/kublai62.jpg differ diff --git a/http-performance/kublai63.jpg b/http-performance/kublai63.jpg new file mode 100644 index 0000000..abba8f8 Binary files /dev/null and b/http-performance/kublai63.jpg differ diff --git a/http-performance/kublai64.jpg b/http-performance/kublai64.jpg new file mode 100644 index 0000000..2e94114 Binary files /dev/null and b/http-performance/kublai64.jpg differ diff --git a/http-performance/kublai65.jpg b/http-performance/kublai65.jpg new file mode 100644 index 0000000..e28dc58 Binary files /dev/null and b/http-performance/kublai65.jpg differ diff --git a/http-performance/kublai66.jpg b/http-performance/kublai66.jpg new file mode 100644 index 0000000..f719fd6 Binary files /dev/null and b/http-performance/kublai66.jpg differ diff --git a/http-performance/kublai67.jpg b/http-performance/kublai67.jpg new file mode 100644 index 0000000..c1d8388 Binary files /dev/null and b/http-performance/kublai67.jpg differ diff --git a/http-performance/kublai68.jpg b/http-performance/kublai68.jpg new file mode 100644 index 0000000..07e89cd Binary files /dev/null and b/http-performance/kublai68.jpg differ diff --git a/http-performance/kublai69.jpg b/http-performance/kublai69.jpg new file mode 100644 index 0000000..bdf5624 Binary files /dev/null and b/http-performance/kublai69.jpg differ diff --git a/http-performance/kublai7.jpg b/http-performance/kublai7.jpg new file mode 100644 index 0000000..7ccbfb5 Binary files /dev/null and b/http-performance/kublai7.jpg differ diff --git a/http-performance/kublai70.jpg b/http-performance/kublai70.jpg new file mode 100644 index 0000000..3964dba Binary files /dev/null and b/http-performance/kublai70.jpg differ diff --git a/http-performance/kublai71.jpg b/http-performance/kublai71.jpg new file mode 100644 index 0000000..39d6f98 Binary files /dev/null and b/http-performance/kublai71.jpg differ diff --git a/http-performance/kublai72.jpg b/http-performance/kublai72.jpg new file mode 100644 index 0000000..ccd4680 Binary files /dev/null and b/http-performance/kublai72.jpg differ diff --git a/http-performance/kublai73.jpg b/http-performance/kublai73.jpg new file mode 100644 index 0000000..b062138 Binary files /dev/null and b/http-performance/kublai73.jpg differ diff --git a/http-performance/kublai74.jpg b/http-performance/kublai74.jpg new file mode 100644 index 0000000..ea60ce5 Binary files /dev/null and b/http-performance/kublai74.jpg differ diff --git a/http-performance/kublai75.jpg b/http-performance/kublai75.jpg new file mode 100644 index 0000000..9bb56b3 Binary files /dev/null and b/http-performance/kublai75.jpg differ diff --git a/http-performance/kublai76.jpg b/http-performance/kublai76.jpg new file mode 100644 index 0000000..69ee0bf Binary files /dev/null and b/http-performance/kublai76.jpg differ diff --git a/http-performance/kublai77.jpg b/http-performance/kublai77.jpg new file mode 100644 index 0000000..c69331b Binary files /dev/null and b/http-performance/kublai77.jpg differ diff --git a/http-performance/kublai78.jpg b/http-performance/kublai78.jpg new file mode 100644 index 0000000..7e63af5 Binary files /dev/null and b/http-performance/kublai78.jpg differ diff --git a/http-performance/kublai79.jpg b/http-performance/kublai79.jpg new file mode 100644 index 0000000..b06d083 Binary files /dev/null and b/http-performance/kublai79.jpg differ diff --git a/http-performance/kublai8.jpg b/http-performance/kublai8.jpg new file mode 100644 index 0000000..c844ca6 Binary files /dev/null and b/http-performance/kublai8.jpg differ diff --git a/http-performance/kublai80.jpg b/http-performance/kublai80.jpg new file mode 100644 index 0000000..d31d9f3 Binary files /dev/null and b/http-performance/kublai80.jpg differ diff --git a/http-performance/kublai81.jpg b/http-performance/kublai81.jpg new file mode 100644 index 0000000..fe6dfd7 Binary files /dev/null and b/http-performance/kublai81.jpg differ diff --git a/http-performance/kublai82.jpg b/http-performance/kublai82.jpg new file mode 100644 index 0000000..e76d0a6 Binary files /dev/null and b/http-performance/kublai82.jpg differ diff --git a/http-performance/kublai83.jpg b/http-performance/kublai83.jpg new file mode 100644 index 0000000..c78ad19 Binary files /dev/null and b/http-performance/kublai83.jpg differ diff --git a/http-performance/kublai84.jpg b/http-performance/kublai84.jpg new file mode 100644 index 0000000..9169c97 Binary files /dev/null and b/http-performance/kublai84.jpg differ diff --git a/http-performance/kublai85.jpg b/http-performance/kublai85.jpg new file mode 100644 index 0000000..9f73120 Binary files /dev/null and b/http-performance/kublai85.jpg differ diff --git a/http-performance/kublai86.jpg b/http-performance/kublai86.jpg new file mode 100644 index 0000000..c1fcff4 Binary files /dev/null and b/http-performance/kublai86.jpg differ diff --git a/http-performance/kublai87.jpg b/http-performance/kublai87.jpg new file mode 100644 index 0000000..02753c6 Binary files /dev/null and b/http-performance/kublai87.jpg differ diff --git a/http-performance/kublai88.jpg b/http-performance/kublai88.jpg new file mode 100644 index 0000000..70d9de1 Binary files /dev/null and b/http-performance/kublai88.jpg differ diff --git a/http-performance/kublai89.jpg b/http-performance/kublai89.jpg new file mode 100644 index 0000000..f475289 Binary files /dev/null and b/http-performance/kublai89.jpg differ diff --git a/http-performance/kublai9.jpg b/http-performance/kublai9.jpg new file mode 100644 index 0000000..daee20a Binary files /dev/null and b/http-performance/kublai9.jpg differ diff --git a/http-performance/kublai90.jpg b/http-performance/kublai90.jpg new file mode 100644 index 0000000..c56feaf Binary files /dev/null and b/http-performance/kublai90.jpg differ diff --git a/http-performance/kublai91.jpg b/http-performance/kublai91.jpg new file mode 100644 index 0000000..b044caf Binary files /dev/null and b/http-performance/kublai91.jpg differ diff --git a/http-performance/kublai92.jpg b/http-performance/kublai92.jpg new file mode 100644 index 0000000..f2bd3e8 Binary files /dev/null and b/http-performance/kublai92.jpg differ diff --git a/http-performance/kublai93.jpg b/http-performance/kublai93.jpg new file mode 100644 index 0000000..b6a3636 Binary files /dev/null and b/http-performance/kublai93.jpg differ diff --git a/http-performance/kublai94.jpg b/http-performance/kublai94.jpg new file mode 100644 index 0000000..f350c06 Binary files /dev/null and b/http-performance/kublai94.jpg differ diff --git a/http-performance/kublai95.jpg b/http-performance/kublai95.jpg new file mode 100644 index 0000000..340a2c1 Binary files /dev/null and b/http-performance/kublai95.jpg differ diff --git a/http-performance/kublai96.jpg b/http-performance/kublai96.jpg new file mode 100644 index 0000000..1d03b2b Binary files /dev/null and b/http-performance/kublai96.jpg differ diff --git a/http-performance/kublai97.jpg b/http-performance/kublai97.jpg new file mode 100644 index 0000000..fbcf181 Binary files /dev/null and b/http-performance/kublai97.jpg differ diff --git a/http-performance/kublai98.jpg b/http-performance/kublai98.jpg new file mode 100644 index 0000000..3bff8db Binary files /dev/null and b/http-performance/kublai98.jpg differ diff --git a/http-performance/kublai99.jpg b/http-performance/kublai99.jpg new file mode 100644 index 0000000..849871f Binary files /dev/null and b/http-performance/kublai99.jpg differ