Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ken-matsui/gcc-bench
GCC benchmarks for built-in traits
https://github.com/ken-matsui/gcc-bench
Last synced: about 2 months ago
JSON representation
GCC benchmarks for built-in traits
- Host: GitHub
- URL: https://github.com/ken-matsui/gcc-bench
- Owner: ken-matsui
- Created: 2023-11-04T14:48:02.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-28T19:24:43.000Z (11 months ago)
- Last Synced: 2024-10-16T13:17:51.001Z (3 months ago)
- Language: C++
- Homepage:
- Size: 814 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gcc-bench
This repository contains benchmarks for GCC, which is a continuation of [my GSoC'23 project](https://summerofcode.withgoogle.com/programs/2023/projects/SuvI1tlp).
## Environment
### Arch
```console
$ uname -m
x86_64
```### CPU
```console
$ lscpu | grep 'Model name'
Model name: 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz$ nproc --all
8
```### Caches
```console
$ lscpu | grep "cache"
L1d cache: 192 KiB (4 instances)
L1i cache: 128 KiB (4 instances)
L2 cache: 5 MiB (4 instances)
L3 cache: 12 MiB (1 instance)
```### Memory
```console
$ free -m
total used free shared buff/cache available
Mem: 15681 6642 4538 735 5559 9038
Swap: 1955 0 1955
```## Tools
* Linux perf
* /usr/bin/time
* -ftime-report
* ministat## Build GCC
```bash
../configure --enable-languages=c++ --disable-error --enable-checking=release --disable-bootstrap
make -j8
```## Build
```bash
make build_remove_pointer
make build_all
```## Benchmark
```bash
make bench_is_array_v
make bench_all
```## gen-charts.py
```bash
make gen_charts
```## Format codes
```bash
make format
```