fossi-foundation / fossi-foundation/cace

"unit: dBV" is very slow in spice_unit_unconvert

Open
#7 2 comments 0 reactions 0 assignees View on GitHub
performance
Dominant language
Python
Stars
14
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Original issue by jwise: https://github.com/efabless/cace/issues/53

---

For a simulation in which

```
variables {
name: freq
display: Frequency
unit: Hz

+
name: Vprobe
display: Vin
unit: dBV
[...]
}
```

... then it takes many tens of milliseconds per unit conversion to run spice_unit_unconvert on this value and plot a simulation output.

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the spice_unit_unconvert entry point and reproduce the dBV conversion described in this issue using the provided simulation variables. Measure the conversion time and compare it with the plotting path; done means the dBV conversion no longer takes many tens of milliseconds per value without changing the plotted output.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
performance
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.