github sparckles/Robyn v0.17.5
Move Sync function execution out of the blocking pool | Synchronous Request > 20% faster

latest releases: v0.66.0, v0.65.1, v0.65.0...
2 years ago

What's Changed

Special thanks to @JackThomson2 for the

Full Changelog: v0.17.4...v0.17.5

Example comparison for 100000 requests

➜  ~ oha http://127.0.0.1:5000 -n 100000 --no-tui
Summary:
  Success rate:	1.0000
  Total:	0.5484 secs
  Slowest:	0.0319 secs
  Fastest:	0.0000 secs
  Average:	0.0003 secs
  Requests/sec:	182345.5041

  Total data:	1.14 MiB
  Size/request:	11 B
  Size/sec:	2.08 MiB

Response time histogram:
  0.000 [1]     |
  0.003 [99147] |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
  0.006 [14]    |
  0.010 [9]     |
  0.013 [3]     |
  0.016 [180]   |
  0.019 [577]   |
  0.022 [56]    |
  0.026 [8]     |
  0.029 [4]     |
  0.032 [1]     |

Latency distribution:
  10% in 0.0001 secs
  25% in 0.0001 secs
  50% in 0.0001 secs
  75% in 0.0001 secs
  90% in 0.0002 secs
  95% in 0.0003 secs
  99% in 0.0004 secs

Details (average, fastest, slowest):
  DNS+dialup:	0.0003 secs, 0.0001 secs, 0.0006 secs
  DNS-lookup:	0.0000 secs, 0.0000 secs, 0.0000 secs

Status code distribution:
  [200] 100000 responses
➜  ~ oha http://127.0.0.1:5000 -n 100000 --no-tui
Summary:
  Success rate:	1.0000
  Total:	0.4062 secs
  Slowest:	0.0326 secs
  Fastest:	0.0000 secs
  Average:	0.0002 secs
  Requests/sec:	246178.0064

  Total data:	1.14 MiB
  Size/request:	11 B
  Size/sec:	2.81 MiB

Response time histogram:
  0.000 [1]     |
  0.003 [99339] |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
  0.007 [25]    |
  0.010 [10]    |
  0.013 [5]     |
  0.016 [254]   |
  0.020 [232]   |
  0.023 [117]   |
  0.026 [2]     |
  0.029 [14]    |
  0.033 [1]     |

Latency distribution:
  10% in 0.0000 secs
  25% in 0.0001 secs
  50% in 0.0001 secs
  75% in 0.0001 secs
  90% in 0.0002 secs
  95% in 0.0002 secs
  99% in 0.0003 secs

Details (average, fastest, slowest):
  DNS+dialup:	0.0002 secs, 0.0001 secs, 0.0005 secs
  DNS-lookup:	0.0000 secs, 0.0000 secs, 0.0002 secs

Status code distribution:
  [200] 100000 responses

Don't miss a new Robyn release

NewReleases is sending notifications on new releases.