1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

yosamiとnuxtの速度を比較してみた

Posted at

知り合いyosamiというフレームワークを作ったらしく、多分これが一番早いと思いますと言うパワーワードを聞いたのでnextより速いnuxtと比較してみた。

検証環境

  • Ubuntu16.04
  • Core i7
  • メモリ 8GB
  • node9.0.0

検証コード

画面にHelloWorldを表示するだけ
https://github.com/sato333/yosami-vs-nuxt

検証結果

siegeを5回ずつ実行してそれぞれスコアの良かったものを掲載

nuxt

$ npm run build && npm start
$ siege -c 30 -r 5 --time=10S http://localhost:3000

Transactions:		         521 hits
Availability:		      100.00 %
Elapsed time:		        9.24 secs
Data transferred:	        0.30 MB
Response time:		        0.02 secs
Transaction rate:	       56.39 trans/sec
Throughput:		        0.03 MB/sec
Concurrency:		        1.20
Successful transactions:         521
Failed transactions:	           0
Longest transaction:	        0.13
Shortest transaction:	        0.00

yosami

$ npm run build && npm start
$ siege -c 30 -r 5 --time=10S http://localhost:3001

Transactions:		         585 hits
Availability:		      100.00 %
Elapsed time:		        9.54 secs
Data transferred:	        0.23 MB
Response time:		        0.00 secs
Transaction rate:	       61.32 trans/sec
Throughput:		        0.02 MB/sec
Concurrency:		        0.19
Successful transactions:         585
Failed transactions:	           0
Longest transaction:	        0.05
Shortest transaction:	        0.00

所感

実用的なコードでは結果が変わってくるだろうから参考程度に。
しかし良さみは感じ取れた。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?