ldc VS byte-unixbench

Compare ldc vs byte-unixbench and see what are their differences.

ldc

The LLVM-based D Compiler. (by ldc-developers)

byte-unixbench

Automatically exported from code.google.com/p/byte-unixbench (by kdlucas)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
ldc byte-unixbench
10 4
1,158 1,190
0.3% -
9.9 1.8
5 days ago 9 months ago
D C
GNU General Public License v3.0 or later GNU General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

ldc

Posts with mentions or reviews of ldc. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-23.

byte-unixbench

Posts with mentions or reviews of byte-unixbench. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-01.
  • UnixBench is the original BYTE Unix benchmark suite
    1 project | /r/CKsTechNews | 1 Oct 2022
    2 projects | news.ycombinator.com | 1 Oct 2022
  • OCI ARM VM benchmarks, 4 CPU / 24 GB RAM — Ubuntu 22.04 LTS, Oracle Linux 8, and Oracle Linux 9
    1 project | /r/oraclecloud | 31 Aug 2022
    There aren't many distro benchmarks on ARM, so I ran UnixBench for about 3 hours. https://github.com/kdlucas/byte-unixbench
  • RISC-V based Single Board Computers are getting there
    4 projects | news.ycombinator.com | 31 Jul 2022
    Some of the most interesting benchmarks here:

    Dhrystone 2: 253.2 on the Mango Pi MQ Pro, 202 on the Raspberry Pi Zero. I don't know what this number is; presumably it's not Dhrystone MIPS (VAX MIPS), because that should be closer to 1000 for both chips, and it can't possibly be Dhrystones per second, because a VAX MIPS is 1757 Dhrystones per second, so they ought to be about 1.8 million Dhrystones per second. Reading https://github.com/kdlucas/byte-unixbench/blob/master/UnixBe... leaves me no wiser.

    File Copy 1024: 124.4 on the MQ Pro, 86 on the Raspberry Pi Zero. The UnixBench README says this is measured in the number of characters that can be written, read, and copied in 10 seconds; if this were correct it would mean the MQ Pro were copying 12.4 bytes per second and the Raspberry Pi Zero W was copying 8.6 bytes per second. It seems inescapable that Bret's results are incorrect by several orders of magnitude here.

    C copy backwards: 1197.4 MB/s (not MiB/s as I previously read incorrectly) on the MQ Pro, 157.2 on the Zero W. Something went wrong here.

    Standard memcpy: 1200.9 MB/s on the MQ Pro, 424.8 on the Zero W.

    Standard memset: 2650.6 MB/s on the MQ Pro, 1699.9 on the Zero W. This seems surprisingly slow; you'd think an 8x-unrolled loop of SD instructions on a 1GHz RISC-V would memset about 5 gigabytes per second, if it got one instruction per clock, which it normally ought to. The XuanTie C906 core in the AllWinner D1 C906 is 64-bit, which is potentially an advantage for this; the analogous code for ARM6 can only write 32 bits per instruction. (The ARM has an STM instruction that stores multiple registers, but it doesn't actually run faster.) I'm not sure what happened to the extra factor of 2 in performance. Similar remarks apply to the memcpy results above.

    Amazon Basics 64GB MicroSD card: MQ Pro reads sequentially at 11.48 MB/s, writes sequentially at 10.77 MB/s; Zero W reads sequentially at 21.36 MB/s, writes sequentially at 19.6 MB/s. (I'm ignoring the random reads and writes because he doesn't specify the read and write size, yet he gives the results in MB/s instead of IOPS.) Note that these are six orders of magnitude faster than the 12.4 and 8.6 bytes per second given earlier.

    Unfortunately Weber doesn't link to the benchmark code or document his compilation and execution environment. Presumably the memset and memcpy results are largely measuring the performance of the libc functions, for example, so reproducing them would require knowing if he's using glibc, musl, or a C library he wrote himself.

    Mostly I feel like these benchmarking results are not well enough specified to be useful, which is a shame. I'd like to be able to use this kind of benchmark to predict the performance of a system within a factor of 5 or so, but these results are too irreproducible for that.

What are some alternatives?

When comparing ldc and byte-unixbench you can also consider the following projects:

dmd - dmd D Programming Language compiler

cant - A programming argot

dextool - Suite of C/C++ tooling built on LLVM/Clang

archriscv-packages - Modified Arch Linux packages for archriscv

vox - Vox language compiler. AOT / JIT / Linker. Zero dependencies

dpp - Directly include C headers in D source code

spasm - Write single page applications in D that compile to webassembly

druntime - Low level runtime library for the D programming language

ASP.NET Core - ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.

XC-BASIC - A compiling BASIC dialect for the Commodore-64

llvm-project - The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.

Numba - NumPy aware dynamic Python compiler using LLVM