Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Keeping track of the performance

Aperta
#71 8 commenti 3 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
julia
Ambito
performance

Direzione di ricerca

Inizia esaminando l’ambiente di benchmark/Project.toml e i benchmark aggiornati a cui si fa riferimento nella pull request 82. Determina se questo issue necessita ancora di un modo ripetibile per eseguire i benchmark per le release; al termine, i risultati di performance previsti dovrebbero essere disponibili per il confronto tra le release.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

We have added a few benchmarks and can run them every time a new release is out. This is the first one.
edit in the PR https://github.com/jump-dev/ParametricOptInterface.jl/pull/82 we changed some benchmarks. This is the run with the updated benchmarks

Pkg status:
      Status `C:\Users\guilhermebodin\Documents\Github\ParametricOptInterface1.jl\benchmark\Project.toml`
  [6e4b80f9] BenchmarkTools v1.3.1
  [4076af6c] JuMP v1.0.0
  [b8f27783] MathOptInterface v1.4.0
  [0ce4ce61] ParametricOptInterface v0.3.0

variables on a MOIU.Model.
  227.000 μs (63 allocations: 658.20 KiB)
variables on a POI.Optimizer.
  417.500 μs (137 allocations: 1.01 MiB)
parameters on a POI.Optimizer.
  171.500 μs (100 allocations: 608.34 KiB)
parameters and variables on a POI.Optimizer.
  305.400 μs (158 allocations: 1.16 MiB)
alternating parameters and variables on a POI.Optimizer.
  317.300 μs (152 allocations: 1.00 MiB)
SAF constraint with variables on a MOIU.Model.
  2.940 ms (677 allocations: 31.19 MiB)
SAF constraint with variables on a POI.Optimizer.
  3.270 ms (752 allocations: 31.55 MiB)
SAF constraint with variables and parameters on a POI.Optimizer.
  18.362 ms (4184 allocations: 97.07 MiB)
SQF constraint with variables on a MOIU.Model{Float64}.
  5.178 ms (877 allocations: 46.46 MiB)
SQF constraint with variables on a POI.Optimizer.
  5.891 ms (952 allocations: 46.82 MiB)
SQF constraint with product of variables and parameters on a POI.Optimizer.
  29.708 ms (6112 allocations: 110.91 MiB)
SQF constraint with product of parameters on a POI.Optimizer.
  18.699 ms (3412 allocations: 50.43 MiB)
SAF objective with variables on a MOIU.Model.
  2.478 ms (562 allocations: 31.18 MiB)
SAF objective with variables on a POI.Optimizer.
  2.956 ms (737 allocations: 31.54 MiB)
SAF objective with variables and parameters on a POI.Optimizer.
  20.071 ms (3758 allocations: 89.42 MiB)
SQF objective with variables on a MOIU.Model.
  6.929 ms (762 allocations: 46.45 MiB)
SQF objective with variables on a POI.Optimizer.
  7.418 ms (937 allocations: 46.82 MiB)
SQF objective with product of variables and parameters on a POI.Optimizer.
  24.425 ms (5676 allocations: 110.89 MiB)
SQF objective with product of parameters on a POI.Optimizer.
  17.687 ms (2976 allocations: 50.40 MiB)
Update parameters in SAF constraint with variables and parameters on a POI.Optimizer.
  26.699 ms (4244 allocations: 97.47 MiB)
Update parameters in SAF objective with variables and parameters on a POI.Optimizer.
  39.061 ms (5810 allocations: 93.81 MiB)
Update parameters in SQF constraint with product of variables and parameters on a POI.Optimizer.
  10.178 s (12006793 allocations: 37.68 GiB)
Update parameters in SQF constraint with product of parameters on a POI.Optimizer.
  34.103 ms (3777 allocations: 50.83 MiB)
Update parameters in SQF objective with product of variables and parameters on a POI.Optimizer.
  6.278 s (4456821 allocations: 37.50 GiB)
Update parameters in SQF objective with product of parameters on a POI.Optimizer.
  47.142 ms (5027 allocations: 54.72 MiB)
Lingua principale
Julia
Stelle
49
Fork
8
Merge medio
22h 26m
PR unite (30g)
2

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di jump-dev/ParametricOptInterface.jl

Tutte le issue di jump-dev/ParametricOptInterface.jl

Issue simili

Altre issue su Julia

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.