# \#benchmark

**URL:** https://discourse.julialang.org/tag/benchmark/160.md?page=3

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

**Page:** 4

---

## [CPU benchmarks](https://discourse.julialang.org/t/cpu-benchmarks/32846)

<div class="topic-metadata">

**Author:** [@gdkrmr](https://discourse.julialang.org/u/gdkrmr)\
**Replies:** 3\
**Last updated:** [January 1, 2020, 9:10pm UTC](https://discourse.julialang.org/t/cpu-benchmarks/32846 "2020-01-01T21:10:17Z")

</div>

I am looking for current server CPU benchmarks for HPC computing, any sources? This is not only for Julia but also library code (BLAS, FFT, etc.) and other programming languages (mostly interpreted ones, such as R and Py…

---

## [PSA: Microbenchmarks remember branch history](https://discourse.julialang.org/t/psa-microbenchmarks-remember-branch-history/17436)

<div class="topic-metadata">

**Author:** [@foobar\_lv2](https://discourse.julialang.org/u/foobar_lv2)\
**Replies:** 36\
**Last updated:** [October 1, 2019, 8:08am UTC](https://discourse.julialang.org/t/psa-microbenchmarks-remember-branch-history/17436 "2019-10-01T08:08:13Z")

</div>

Something to keep in mind when running microbenchmarks: The sneaky CPU can remember astoundingly long branch history patterns. If you run @btime on somthing, then you generate a periodic branching pattern: The period len…

---

## [Passing parameters and performances](https://discourse.julialang.org/t/passing-parameters-and-performances/29175)

<div class="topic-metadata">

**Author:** [@alequa](https://discourse.julialang.org/u/alequa)\
**Replies:** 3\
**Last updated:** [September 26, 2019, 12:11pm UTC](https://discourse.julialang.org/t/passing-parameters-and-performances/29175 "2019-09-26T12:11:00Z")

</div>

Hi, I am writing a simulator for spiking neural network. In the simulator I would like to use a loop like the one in the code Params = Dict{String,Union{Int,Bool}} function sim\_loop!(synapse\_params::Dict{String,Floa…

---

## [Relative performance discrepancy across cpus even with --cpu-target set](https://discourse.julialang.org/t/relative-performance-discrepancy-across-cpus-even-with-cpu-target-set/27503)

<div class="topic-metadata">

**Author:** [@non-Jedi](https://discourse.julialang.org/u/non-Jedi)\
**Replies:** 5\
**Last updated:** [August 14, 2019, 8:02pm UTC](https://discourse.julialang.org/t/relative-performance-discrepancy-across-cpus-even-with-cpu-target-set/27503 "2019-08-14T20:02:11Z")

</div>

I’ve been trying to optimize the benchmarks game’s julia programs again, and I’m running into a problem I don’t really know how to work around. The gist is that between two implementations, one is significantly faster…

---

## [How to run benchmark CI on every commit?](https://discourse.julialang.org/t/how-to-run-benchmark-ci-on-every-commit/27034)

<div class="topic-metadata">

**Author:** [@cserteGT3](https://discourse.julialang.org/u/cserteGT3)\
**Replies:** 13\
**Last updated:** [August 10, 2019, 8:54am UTC](https://discourse.julialang.org/t/how-to-run-benchmark-ci-on-every-commit/27034 "2019-08-10T08:54:28Z")

</div>

I’m working on a package, that I want to benchmark at every commit, because I want to see how the performance evolves over time. A short note on this idea I assume that it’s not the best workflow, would be better to run…

---

## [Efficiently traverse binary tree represented as tuple of tuples](https://discourse.julialang.org/t/efficiently-traverse-binary-tree-represented-as-tuple-of-tuples/26989)

<div class="topic-metadata">

**Author:** [@non-Jedi](https://discourse.julialang.org/u/non-Jedi)\
**Replies:** 9\
**Last updated:** [August 7, 2019, 2:25am UTC](https://discourse.julialang.org/t/efficiently-traverse-binary-tree-represented-as-tuple-of-tuples/26989 "2019-08-07T02:25:51Z")

</div>

I’m trying to see if I can squeeze out a bit more performance from the Julia implementation of the computer language benchmark game binary trees test. One thing I noticed was that I could create binary trees very fas…

---

## [Fast logsumexp](https://discourse.julialang.org/t/fast-logsumexp/22827)

<div class="topic-metadata">

**Author:** [@baggepinnen](https://discourse.julialang.org/u/baggepinnen)\
**Replies:** 14\
**Last updated:** [June 26, 2019, 3:21pm UTC](https://discourse.julialang.org/t/fast-logsumexp/22827 "2019-06-26T15:21:46Z")

</div>

We recently held a competition among the students in a Julia course we are teaching. The goal of the competition was to profile and optimize a provided particle-filter simulation. After all the obvious things were taken …

---

## [Benchmark and develop at the same time](https://discourse.julialang.org/t/benchmark-and-develop-at-the-same-time/25339)

<div class="topic-metadata">

**Author:** [@jlapeyre](https://discourse.julialang.org/u/jlapeyre)\
**Replies:** 2\
**Last updated:** [June 16, 2019, 4:56pm UTC](https://discourse.julialang.org/t/benchmark-and-develop-at-the-same-time/25339 "2019-06-16T16:56:08Z")

</div>

I’d like to run a benchmark suite on two branches of a repo of a module to check for regressions, and work on the module at the same time. It seems like this requires two copies of the repo. (Or copies of the branches). …

---

## [Possible inefficiency in randn!](https://discourse.julialang.org/t/possible-inefficiency-in-randn/22732)

<div class="topic-metadata">

**Author:** [@baggepinnen](https://discourse.julialang.org/u/baggepinnen)\
**Replies:** 5\
**Last updated:** [April 4, 2019, 8:07am UTC](https://discourse.julialang.org/t/possible-inefficiency-in-randn/22732 "2019-04-04T08:07:41Z")

</div>

The following two functions seem to do exactly the same thing, but the built-in version (randn!) is some 60% slower. Am I missing something or could randn! be implemented more efficiently? using Random broadcast\_randn(x…

---

## [ANN: SolverBenchmark.jl](https://discourse.julialang.org/t/ann-solverbenchmark-jl/21643)

<div class="topic-metadata">

**Author:** [@abelsiqueira](https://discourse.julialang.org/u/abelsiqueira)\
**Replies:** 0\
**Last updated:** [March 8, 2019, 6:03pm UTC](https://discourse.julialang.org/t/ann-solverbenchmark-jl/21643 "2019-03-08T18:03:24Z")

</div>

Hello all, this is to announce package SolverBenchmark.jl, a package with general tools for benchmarking solvers. It consists of a few tools turning DataFrames and Dict{Symbol,DataFrame}s into tables and performance pro…

---

## [Setup and teardown in BenchmarkTools](https://discourse.julialang.org/t/setup-and-teardown-in-benchmarktools/20972)

<div class="topic-metadata">

**Author:** [@tamasgal](https://discourse.julialang.org/u/tamasgal)\
**Replies:** 1\
**Last updated:** [February 19, 2019, 10:17am UTC](https://discourse.julialang.org/t/setup-and-teardown-in-benchmarktools/20972 "2019-02-19T10:17:17Z")

</div>

I really have the feeling that this is something trivial, since I am doing the same setup/teardown as I found here: https://github.com/Keno/StructIO.jl/issues/13 but that approach does not work to rewind the file before …

---

## [Small benchmark](https://discourse.julialang.org/t/small-benchmark/17665)

<div class="topic-metadata">

**Author:** [@xor0110](https://discourse.julialang.org/u/xor0110)\
**Replies:** 14\
**Last updated:** [November 21, 2018, 4:37pm UTC](https://discourse.julialang.org/t/small-benchmark/17665 "2018-11-21T16:37:41Z")

</div>

I’m new to Julia, and was curious to test its famed performance, so today I made a small benchmark comparing it to C, optimized Python and Scala. Some pretty interesting results, with Julia falling a mere 3% behind the b…

---

## [\[ANN\] New benchmark comparison](https://discourse.julialang.org/t/ann-new-benchmark-comparison/9689)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 5\
**Last updated:** [March 13, 2018, 6:53pm UTC](https://discourse.julialang.org/t/ann-new-benchmark-comparison/9689 "2018-03-13T18:53:43Z")

</div>

There is a benchmark posted here of which I just became aware today. I will investigate a bit more, but if anyone has had a look already, I would appreciate any comments or insights.

---

## [Inconsistent performance using for loops in REPL](https://discourse.julialang.org/t/inconsistent-performance-using-for-loops-in-repl/8850)

<div class="topic-metadata">

**Author:** [@Arnaldur\_Bjarnason](https://discourse.julialang.org/u/Arnaldur_Bjarnason)\
**Replies:** 15\
**Last updated:** [February 13, 2018, 2:39am UTC](https://discourse.julialang.org/t/inconsistent-performance-using-for-loops-in-repl/8850 "2018-02-13T02:39:06Z")

</div>

I was using the julia REPL to solve some project Euler problems and came across this weird behavior. When I ran the simplest for loop I could think of, I experienced the worst performance I recall having using julia. How…

---

## [Benchmarks: Julia vs Python+Numba](https://discourse.julialang.org/t/benchmarks-julia-vs-python-numba/8709)

<div class="topic-metadata">

**Author:** [@tk3369](https://discourse.julialang.org/u/tk3369)\
**Replies:** 4\
**Last updated:** [January 31, 2018, 2:45pm UTC](https://discourse.julialang.org/t/benchmarks-julia-vs-python-numba/8709 "2018-01-31T14:45:29Z")

</div>

Just sharing - I started running some reality checks. I hope experiments like this would re-enforce our assessment about Julia’s greatness in performance, as compared to the Python+Numba ecosystem. Only one notebook i…

---

## [Benchmarking tests to ensure PRs don't introduce regressions](https://discourse.julialang.org/t/benchmarking-tests-to-ensure-prs-dont-introduce-regressions/8630)

<div class="topic-metadata">

**Author:** [@anon94023334](https://discourse.julialang.org/u/anon94023334)\
**Replies:** 5\
**Last updated:** [January 28, 2018, 6:44pm UTC](https://discourse.julialang.org/t/benchmarking-tests-to-ensure-prs-dont-introduce-regressions/8630 "2018-01-28T18:44:32Z")

</div>

Has anyone come up with a clever way to perform benchmarking of specific functions as part of the testing or CI process so that PRs can be checked to make sure no performance regressions are introduced?

---

## [Trying PkgBenchmark.jl again](https://discourse.julialang.org/t/trying-pkgbenchmark-jl-again/7429)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 5\
**Last updated:** [December 1, 2017, 5:34pm UTC](https://discourse.julialang.org/t/trying-pkgbenchmark-jl-again/7429 "2017-12-01T17:34:15Z")

</div>

I got to a point where I need to keep track of performance improvements in my packages, specially with new releases of Julia coming up. The PkgBenchmark.jl package proposes a nice interface similar to Base.Test for bench…

---

## [Using axpy!](https://discourse.julialang.org/t/using-axpy/7072)

<div class="topic-metadata">

**Author:** [@mforets](https://discourse.julialang.org/u/mforets)\
**Replies:** 12\
**Last updated:** [November 15, 2017, 1:52pm UTC](https://discourse.julialang.org/t/using-axpy/7072 "2017-11-15T13:52:49Z")

</div>

The operation of multiplication by a scalar and translation can be done with Base.LinAlg.axpy!(α, x, y). But I can also use y .+= α\*x. I was wondering: is it recommended to use one or the other for writing library code?…

---

## [Effective Solution for transformation Matrix to Vector {Block}](https://discourse.julialang.org/t/effective-solution-for-transformation-matrix-to-vector-block/6037)

<div class="topic-metadata">

**Author:** [@Martin\_Florek](https://discourse.julialang.org/u/Martin_Florek)\
**Replies:** 3\
**Last updated:** [October 18, 2017, 1:42pm UTC](https://discourse.julialang.org/t/effective-solution-for-transformation-matrix-to-vector-block/6037 "2017-10-18T13:42:50Z")

</div>

Hello, I have an exciting problem. Consider type Block and rawData Matrix. struct Block name::String data::Vector{Float64} end headers = \["a", "b", "c", "d", "e", "f", "g", "h", "i", "j"\] rawData = rand(8700, 10) d…

---

## [Consumption analysis of programming languages: add Julia?](https://discourse.julialang.org/t/consumption-analysis-of-programming-languages-add-julia/5969)

<div class="topic-metadata">

**Author:** [@cdsousa](https://discourse.julialang.org/u/cdsousa)\
**Replies:** 1\
**Last updated:** [September 19, 2017, 1:03pm UTC](https://discourse.julialang.org/t/consumption-analysis-of-programming-languages-add-julia/5969 "2017-09-19T13:03:47Z")

</div>

Green Software Lab made a “set of tools for energy consumption analysis of programming languages, using Computer Language Benchmark Game”: https://github.com/greensoftwarelab/Energy-Languages Since Julia has some of th…

---

## [BenchmarkTools theory and practice](https://discourse.julialang.org/t/benchmarktools-theory-and-practice/5728)

<div class="topic-metadata">

**Author:** [@cstjean](https://discourse.julialang.org/u/cstjean)\
**Replies:** 1\
**Last updated:** [September 5, 2017, 3:29pm UTC](https://discourse.julialang.org/t/benchmarktools-theory-and-practice/5728 "2017-09-05T15:29:05Z")

</div>

I understand that BenchmarkTools’ job is a hard one, but is it expected that I frequently see several regressions while rerunning the same benchmark (without code change)? Is there some theory that (under certain assumpt…

[Previous page](https://discourse.julialang.org/tag/benchmark/160.md?match_all_tags=true&page=2&tags%5B%5D=benchmark)
