ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

simple g++ vs clang++ benchmark with reaction-diffusion

Автор: coleraby

Загружено: 2018-01-23

Просмотров: 4187

Описание: This is a "benchmark" (rather: basic test) of pitting the two major compilers form the OpenSource-world against each other in a 2D reaction-diffusion simulation. It's g++ 7.2.0 vs clang++ 5.0.1.

The compile-flags used are:
-std=c++14 -Werror -Wall -pedantic -fno-omit-frame-pointer -Ofast -march=native

The CPU in the test-machine is a 4-thread (2-core) [email protected] GHz, which can boost upto 3.1 GHz.

The frame-rates achieved under screen-recording are:
361fps (g++) vs 398fps (clang++), thus clang-generated binary is 10% faster.

Without the screen-recording:
447fps (g++) vs 524fps (clang++), making the clang-generated binary being 17 % faster in this case. It's also a bit smaller.

If you want to play around with the code yourself, grab it with:
git clone https://github.com/MacSlow/reaction-d...

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
simple g++ vs clang++ benchmark with reaction-diffusion

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

Clang internals (in Russian)

Clang internals (in Russian)

Секретные «Хэллоуинские Документы» Microsoft Против Linux: Грязная Война 90-х

Секретные «Хэллоуинские Документы» Microsoft Против Linux: Грязная Война 90-х

Swift vs Rust vs C#: какой язык реально БЛЕЙЗИНГ ФАСТ?!

Swift vs Rust vs C#: какой язык реально БЛЕЙЗИНГ ФАСТ?!

Bjarne Stroustrup: C++ Implementations - Clang, GCC, Microsoft, and EDG

Bjarne Stroustrup: C++ Implementations - Clang, GCC, Microsoft, and EDG

Клещ думал, что он охотник, пока не встретил муравьев!

Клещ думал, что он охотник, пока не встретил муравьев!

How LLVM & Clang work

How LLVM & Clang work

Проброс портов, брутфорс wordpress и jenkins! Прохожу машину Internal на TryHackMe, уровень тяжелый!

Проброс портов, брутфорс wordpress и jenkins! Прохожу машину Internal на TryHackMe, уровень тяжелый!

⚡️ Самая масштабная атака РФ по Украине || Путина просят о помиловании

⚡️ Самая масштабная атака РФ по Украине || Путина просят о помиловании

FOSDEM 2024

FOSDEM 2024 "Scratching an itch by patching kmscon" or "How OpenGL can lead to systems programming"

why do header files even exist?

why do header files even exist?

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]