Информация об изменениях

Сообщение Re: Проблемы производительности .NET 8 от 22.11.2023 12:33

Изменено 22.11.2023 12:36 Петрухин Эдуард

Re: Проблемы производительности .NET 8
Здравствуйте, yenik, Вы писали:

Y>

Y>NET 8 has undoubtedly showcased remarkable improvements in performance, and the dedicated efforts of the .NET team have positioned it as one of the most performant programming languages available today.

Y>However, during my review of the benchmark data, I identified certain areas where performance has regressed compared to .NET 6, the last long-term support version. While many of these findings do not exhibit a significant drop in performance, it’s crucial to acknowledge that when using methods demonstrated in this article that are invoked possibly thousands of times per second, the cumulative effect of these performance losses can become substantial.

Y>https://dotnettips.wordpress.com/2023/11/14/analyzing-performance-issues-in-microsoft-net-8/

Там, по ссылке, что-то очень странное. Например, почти в самом начале:

Creating reference types is 1.27 times slower. Furthermore, creating objects using the new style (as demonstrated below) is 1.14 times slower.

Person person = new();

Как-то тяжело всерьёз воспринимать статью по производительности .Net, когда автор считает что
Person person = new();

и
Person person = Person new();

могут отличаться по скорости в пределах погрешности.

Ну и, самое главное, нет кода бенчмарков.
... << RSDN@Home 1.0.0 alpha 5 rev. 0>>
Re: Проблемы производительности .NET 8
Здравствуйте, yenik, Вы писали:

Y>

Y>NET 8 has undoubtedly showcased remarkable improvements in performance, and the dedicated efforts of the .NET team have positioned it as one of the most performant programming languages available today.

Y>However, during my review of the benchmark data, I identified certain areas where performance has regressed compared to .NET 6, the last long-term support version. While many of these findings do not exhibit a significant drop in performance, it’s crucial to acknowledge that when using methods demonstrated in this article that are invoked possibly thousands of times per second, the cumulative effect of these performance losses can become substantial.

Y>https://dotnettips.wordpress.com/2023/11/14/analyzing-performance-issues-in-microsoft-net-8/

Там, по ссылке, что-то очень странное. Например, почти в самом начале:

Creating reference types is 1.27 times slower. Furthermore, creating objects using the new style (as demonstrated below) is 1.14 times slower.

Person person = new();

Как-то тяжело всерьёз воспринимать статью по производительности .Net, когда автор считает что
Person person = new();

и
Person person = new Person();

могут отличаться по скорости в пределах погрешности.

Ну и, самое главное, нет кода бенчмарков.
... << RSDN@Home 1.0.0 alpha 5 rev. 0>>