ASP. NET Core performance tests and techempower13 tests in TechEmpower 13 rounds

Source: Internet
Author: User
Tags rounds

ASP. NET Core performance tests and techempower13 tests in TechEmpower 13 rounds

Application performance directly affects the cost of hosting services. Therefore, when developing applications, companies must pay special attention to the Web framework used by applications. This is especially true for startups. In addition, poor application performance will also affect user experience, and may even be penalized for downgrading related search engines. There are many factors to consider when selecting a framework, but the original performance is undoubtedly the easiest to evaluate. The performance of different frameworks varies greatly. Even if you make full use of the hardware performance, the wrong framework may still bring about ten times the performance loss, although not everyone will encounter such extreme situations, but in some cases, it is necessary to understand the performance differences between frameworks.

TechEmpower tests have source code and all hardware configurations are publicly available. In addition, many frameworks are submitted by authors or senior enthusiasts. They must know how to optimize them to be the best and should be reliable, because these results can be reproduced, and those who do not feel satisfied can run and view on their own, the source code and requirements page provides the execution details of each test and other relevant information, the performance comparison page of various Web frameworks provides more details about how to perform the test and an overview of the test benchmark. TechEmpower is mainly used to test popular Web development frameworks from various perspectives. These testing scenarios mainly aim at the basic tasks of these Web execution frameworks, such as database access, JSON serialization, and combination of server templates. The overall score is useful for reference. Of course, the main role of this test is to improve morale. Techempower has conducted 13 rounds of common web framework tests, it provides 2 hardware environments (hardware platform includes Azure D3v2 Instance and dedicated hardware [Dell R910 application server (4x 10-Core E7-4850 CPUs) and a Dell R420 database server (2x 4-Core E5-2406 CPUs), several test case tests, the content includes single-request database access test, multi-request database access test, Fortunes test, and JSON serialization test. A series of performance benchmarks of the web framework are obtained. For architects, this is a good reference for evaluating and selecting the web framework.

Let's take a look at the performance of each web framework. The TPS is used as the metric (response is returned more than once per second, and the performance is better). All tests are run in Linux. In the comparison, we can see that ASP. NET Core has achieved excellent results. For details about the comparison of 6 rounds, please refer to TechEmpower:

  • "Hello, world!" is returned !" JSON string
    For test results, see: http://www.techempower.com/benchmarks/#section=data-r13&hw=peak&test=json
  • Reads a row of records from the database and returns
    For test results, see: http://www.techempower.com/benchmarks/#section=data-r13&hw=peak&test=db
  • Read multi-row records from the database and return
    For test results, see: http://www.techempower.com/benchmarks/#section=data-r13&hw=peak&test=query
  • Reads the entire table record from the database and returns
    For test results, see: http://www.techempower.com/benchmarks/#section=data-r13&hw=peak&test=fortune
  • Modify database records and return
    For test results, see: http://www.techempower.com/benchmarks/#section=data-r13&hw=peak&test=update
  • "Hello, world!" is returned !" Plain text
    For test results, see: http://www.techempower.com/benchmarks/#section=data-r13&hw=peak&test=plaintext

The following is the performance benchmark for returning plain text Plaintext:

Sixth back Azure D3v2 Instance PlainText access test (peak)

Sixth session dedicated hardware PlainText access test (peak)

From the developer's perspective ,. NET Core, after absorbing the advantages of Mono, is facing the world with a brand new attitude. This transformation is worth looking forward to, and the new technologies and new features emerging in this transformation, etc, this is what we really need to pay attention. Compared with the performance of 11 rounds of asp.net mvc on the Mono platform, ASP. NET Core has 1822366 requests per second, which is about 859 times higher.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.