Cody Tapscott

Results 114 issues of Cody Tapscott

```julia julia> bench = LinuxPerf.make_bench(); julia> enable!(bench); sleep(1.0); disable!(bench); julia> stats = LinuxPerf.ThreadStats(bench); julia> stats.groups[1][1] LinuxPerf.Counter(hw:cycles, 0x0000000001bdc0f6, 0x0000000000a08a80, 0x00000000007a6ed7) julia> reset!(bench) julia> stats = LinuxPerf.ThreadStats(bench); julia> stats.groups[1][1] LinuxPerf.Counter(hw:cycles, 0x0000000000000000, 0x0000000003dad501,...

```julia julia> @pstats rand(1000,1000) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ┌ cpu-cycles 0.00e+00 47.4% # 0.0 cycles per ns │ stalled-cycles-frontend 0.00e+00 47.4% # NaN% of cycles └ stalled-cycles-backend 0.00e+00 47.4% # NaN% of cycles...

A quick attempt to see what it would look like to integrate https://github.com/JuliaCI/BenchmarkTools.jl/pull/375, which provides branch / instruction counts based on LinuxPerf.jl We might have to twiddle with `perf_event_paranoid` (assuming...

The compiler has special support to optimize this now, so we can forward the `ctx` directly in many cases.

As written, this was accidentally skipping all the subsequent `cfuncs` that need adapters.

backport 1.12

Consider a "reduction" function that takes in a nested, heterogeneous `Tuple` and tries to reduce on it: ```julia reduce_tuple(@nospecialize(ixs)) = ixs function reduce_tuple(ixs::Tuple) values = ntuple(Val(length(ixs))) do i @inline reduce_tuple(ixs[i])...

Not sure if this is intended as part of binding replacement or not, but wanted to open an issue just in case. On `nightly`: ```julia julia> module Foo; end Main.Foo...

bug
modules
display and printing

before: ```julia julia> ccall(:jl_, Cvoid, (Any,), Char('u')) Char(0x75000000) ``` after: ```julia julia> ccall(:jl_, Cvoid, (Any,), Char('u')) reinterpret(Char, 0x75000000) ``` I know that @vtjnash has advocated for us to provide a...

```julia julia> using JET julia> @report_opt @inline +(1, 2) ═════ 67 possible errors found ═════ ┌ var"@inline"(__source__::LineNumberNode, __module__::Module, x::Expr) @ Base ./expr.jl:278 │┌ annotate_meta_def_or_block(ex::Expr, meta::Symbol) @ Base ./expr.jl:1048 ││┌ is_function_def(ex::Any)...

I hit this error message when running the tests (w/ 1.12 beta3) on https://github.com/topolarity/Graphs.jl/tree/ct/jet-misleading-error : ```julia Code quality (JET.jl): JET-test failed at /home/topolarity/.julia/packages/JET/PvvPV/src/JETBase.jl:1052 Expression: (JET.report_package)(Graphs; toplevel_logger = nothing, target_defined_modules =...