Flops

Jul 20, 2023

Floating point benchmark to give your MFLOPS rating

flops.c is a C program which attempts to estimate your system’s floating- point ‘MFLOPS’ rating for the FADD, FSUB, FMUL, and FDIV operations based on specific ‘instruction mixes’ discussed below. The program provides an estimate of PEAK MFLOPS performance by making maximal use of register variables with minimal interaction with main memory. The execution loops are all small so that they will fit in any cache. The flops.c execution modules include various percent weightings of FDIV’s from 0 to 25 FDIV’s so that the range of performance can be obtained when using FDIV’s. FDIV’s, being computationally more intensive than FADD’s or FMUL’s, can impact performance considerably on some systems.



Checkout these related ports:
  • Wrk - Modern HTTP benchmarking tool
  • Webbench - Simple forking web benchmark
  • Vkpeak - Profile Vulkan devices to find their peak capacities
  • Vkoverhead - Evaluate CPU overhead of Vulkan drivers
  • Vkmark - Vulkan benchmark
  • Vegeta - HTTP load testing tool and library
  • Uperf - Network performance tool to model and replay of networking patterns
  • Unixbench - BYTE magazine's Public Domain benchmark for UNIX
  • Uica - Code Analyzer from the uops.info project
  • Ubench - Unix Benchmark Utility for CPU(s) and memory
  • Typometer - Text/code editor typing latency analyzer
  • Ttcp - Benchmarking tool for analysing TCP and UDP performance
  • Tsung - Multi-protocol distributed load testing tool
  • Thrulay - Network capacity tester
  • Tcpblast - Measures the throughput of a TCP connection