projectsyn / reclass-rs

Reimplementation of https://github.com/kapicorp/reclass in Rust with Python bindings through PyO3.
BSD 3-Clause "New" or "Revised" License
7 stars 0 forks source link

Automatically set package version from Git tag #77

Closed simu closed 8 months ago

simu commented 8 months ago

We extract the version from Git with git describe --tags --always --match=v*, and generate a suitable version for Cargo/maturin from the returned value.

Resolves #42

Checklist

github-actions[bot] commented 8 months ago

Benchmark for 8cffb94

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Reclass::inventory() multi-threaded | 1536.7±61.87µs | 1528.9±51.79µs | -0.51% | | Reclass::inventory() single-threaded | **3.4±0.10ms** | 3.5±0.07ms | **+2.94%** |
github-actions[bot] commented 8 months ago

Benchmark for f2aa971

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Reclass::inventory() multi-threaded | 1547.5±102.92µs | 1524.9±54.64µs | -1.46% | | Reclass::inventory() single-threaded | 3.4±0.03ms | 3.4±0.04ms | 0.00% |
github-actions[bot] commented 8 months ago

Benchmark for d7120b9

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Reclass::inventory() multi-threaded | 1531.0±49.45µs | 1558.8±127.84µs | +1.82% | | Reclass::inventory() single-threaded | 3.4±0.03ms | 3.4±0.06ms | 0.00% |
github-actions[bot] commented 8 months ago

Benchmark for 4116c9d

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Reclass::inventory() multi-threaded | 1543.5±84.00µs | 1552.1±109.32µs | +0.56% | | Reclass::inventory() single-threaded | **3.4±0.03ms** | 3.5±0.16ms | **+2.94%** |
github-actions[bot] commented 8 months ago

Benchmark for 5313312

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Reclass::inventory() multi-threaded | 1559.5±117.47µs | 1530.1±79.93µs | -1.89% | | Reclass::inventory() single-threaded | **3.4±0.14ms** | 3.5±0.03ms | **+2.94%** |
github-actions[bot] commented 8 months ago

Benchmark for a833010

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Reclass::inventory() multi-threaded | 1548.2±111.18µs | 1534.6±52.26µs | -0.88% | | Reclass::inventory() single-threaded | 3.5±0.13ms | **3.4±0.07ms** | **-2.86%** |
github-actions[bot] commented 8 months ago

Benchmark for a0153fb

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Reclass::inventory() multi-threaded | 1527.7±63.66µs | 1561.5±138.64µs | +2.21% | | Reclass::inventory() single-threaded | 3.4±0.03ms | 3.4±0.07ms | 0.00% |
github-actions[bot] commented 8 months ago

Benchmark for 30fac28

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Reclass::inventory() multi-threaded | 1558.2±51.38µs | 1588.3±124.64µs | +1.93% | | Reclass::inventory() single-threaded | 3.5±0.07ms | 3.5±0.09ms | 0.00% |
github-actions[bot] commented 8 months ago

Benchmark for 9ea3ef2

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Reclass::inventory() multi-threaded | 1564.6±127.07µs | 1558.2±102.33µs | -0.41% | | Reclass::inventory() single-threaded | 3.5±0.13ms | 3.5±0.17ms | 0.00% |
github-actions[bot] commented 8 months ago

Benchmark for 7711805

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Reclass::inventory() multi-threaded | 1535.7±51.67µs | 1543.7±111.17µs | +0.52% | | Reclass::inventory() single-threaded | **3.4±0.04ms** | 3.5±0.22ms | **+2.94%** |
github-actions[bot] commented 8 months ago

Benchmark for f93e28c

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Reclass::inventory() multi-threaded | 1536.1±55.64µs | 1534.4±48.83µs | -0.11% | | Reclass::inventory() single-threaded | 3.5±0.04ms | 3.5±0.09ms | 0.00% |
github-actions[bot] commented 8 months ago

Benchmark for ccfcaac

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Reclass::inventory() multi-threaded | 1555.5±107.20µs | 1536.9±89.04µs | -1.20% | | Reclass::inventory() single-threaded | 3.5±0.20ms | **3.4±0.03ms** | **-2.86%** |
github-actions[bot] commented 8 months ago

Benchmark for 49cd3bb

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Reclass::inventory() multi-threaded | 1534.6±48.29µs | 1555.1±112.36µs | +1.34% | | Reclass::inventory() single-threaded | 3.5±0.03ms | **3.4±0.05ms** | **-2.86%** |
github-actions[bot] commented 8 months ago

Benchmark for 5989812

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Reclass::inventory() multi-threaded | 1551.6±50.02µs | 1595.1±126.49µs | +2.80% | | Reclass::inventory() single-threaded | 3.5±0.11ms | 3.5±0.09ms | 0.00% |
github-actions[bot] commented 8 months ago

Benchmark for e621724

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Reclass::inventory() multi-threaded | 1553.9±115.60µs | 1546.0±108.96µs | -0.51% | | Reclass::inventory() single-threaded | 3.4±0.08ms | 3.4±0.06ms | 0.00% |
github-actions[bot] commented 8 months ago

Benchmark for 75d07e0

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Reclass::inventory() multi-threaded | 1533.1±59.31µs | 1553.1±119.88µs | +1.30% | | Reclass::inventory() single-threaded | 3.4±0.03ms | 3.4±0.10ms | 0.00% |
github-actions[bot] commented 8 months ago

Benchmark for c308e68

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Reclass::inventory() multi-threaded | 1527.9±48.22µs | 1560.3±111.14µs | +2.12% | | Reclass::inventory() single-threaded | **3.4±0.02ms** | 3.5±0.08ms | **+2.94%** |
github-actions[bot] commented 8 months ago

Benchmark for 32e9c91

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Reclass::inventory() multi-threaded | 1522.9±50.05µs | 1557.2±119.93µs | +2.25% | | Reclass::inventory() single-threaded | 3.5±0.07ms | 3.5±0.13ms | 0.00% |
github-actions[bot] commented 8 months ago

Benchmark for d8b82d6

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Reclass::inventory() multi-threaded | 1533.8±49.96µs | 1559.0±117.80µs | +1.64% | | Reclass::inventory() single-threaded | 3.4±0.03ms | 3.4±0.05ms | 0.00% |