Skip to content

Commit

Permalink
Release v0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
heitzmann committed Oct 13, 2020
1 parent 974546a commit 3f60be2
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 18 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## [0.1.1] - 2010-11-13
### Fixed
- Add missing source files to MANIFEST.in
- Remove directory from CMakeLists.txt
- Remove unecessary dependency from conda

## [0.1.0] - 2020-10-03
### Added
- Initial release
Expand Down
32 changes: 16 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,27 +62,27 @@ If maximal performance is important, the library should be used directly from C+
Timing results were obtained with Python 3.8 on an Intel Core i7-3820 with 8 cores and 64 GB of RAM.
They represent the best average time to run each function out of 32 sets of 8 runs each.

| Benchmark | Gdspy 1.6 | Gdstk 0.1 | Gain |
| Benchmark | Gdspy 1.6 | Gdstk 0.1.1 | Gain |
| :--------------- | :--------------: | :--------------: | :------: |
| 10k_rectangles | 221 ms | 6.42 ms | 34.4 |
| 1k_circles | 567 ms | 359 ms | 1.58 |
| boolean-offset | 413 μs | 49.7 μs | 8.31 |
| bounding_box | 634 μs | 8.43 μs | 75.2 |
| curves | 2.97 ms | 66.1 μs | 44.9 |
| flatten | 1.01 ms | 10.1 μs | 100 |
| flexpath-param | 7.26 ms | 1.42 ms | 5.1 |
| flexpath | 5.48 ms | 25.2 μs | 217 |
| fracture | 1.71 ms | 857 μs | 1.99 |
| inside | 39.4 μs | 8.41 μs | 4.68 |
| read_gds | 7.08 ms | 108 μs | 65.6 |
| read_rawcells | 615 μs | 74 μs | 8.31 |
| robustpath | 375 μs | 13.6 μs | 27.6 |
| 10k_rectangles | 222 ms | 6.22 ms | 35.6 |
| 1k_circles | 565 ms | 358 ms | 1.58 |
| boolean-offset | 414 μs | 48.9 μs | 8.45 |
| bounding_box | 625 μs | 8.57 μs | 72.9 |
| curves | 3.01 ms | 65.3 μs | 46.1 |
| flatten | 993 μs | 9.52 μs | 104 |
| flexpath-param | 7.25 ms | 1.5 ms | 4.85 |
| flexpath | 5.6 ms | 24.5 μs | 228 |
| fracture | 1.7 ms | 851 μs | 2 |
| inside | 38.4 μs | 8.36 μs | 4.6 |
| read_gds | 7 ms | 107 μs | 65.5 |
| read_rawcells | 623 μs | 74.2 μs | 8.39 |
| robustpath | 376 μs | 13.3 μs | 28.3 |

Memory usage per object for 100.000 objects using Python 3.8:

| Object | Gdspy 1.6 | Gdstk 0.1 | Reduction |
| Object | Gdspy 1.6 | Gdstk 0.1.1 | Reduction |
| :------------------- | :--------------: | :--------------: | :-------: |
| Rectangle | 606 B | 184 B | 70% |
| Rectangle | 608 B | 184 B | 70% |
| Circle (r = 10) | 1.67 kB | 1.23 kB | 27% |
| FlexPath segment | 1.42 kB | 392 B | 73% |
| FlexPath arc | 2.23 kB | 1.44 kB | 35% |
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def run(self):
setup_requires=setup_requires,
platforms="OS Independent",
classifiers=[
"Development Status :: 1 - Planning",
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Manufacturing",
Expand Down
2 changes: 1 addition & 1 deletion src/gdstk.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>
#ifndef __GDSTK_H__
#define __GDSTK_H__

#define GDSTK_VERSION "0.1.0"
#define GDSTK_VERSION "0.1.1"

#include "array.h"
#include "cell.h"
Expand Down

0 comments on commit 3f60be2

Please sign in to comment.