Skip to content

Commit 1bf670d

Browse files
author
Food Tiny
authored
Merge pull request #288 from foodtiny/development
Release v1.0.3
2 parents 9ead39e + e202b33 commit 1bf670d

1,330 files changed

Lines changed: 65734 additions & 33825 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,4 @@ main
2121
/cygnative.dll
2222
/native_benchmark
2323
native_test.exe
24-
node_modules
25-
package-lock.json
2624
build

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ set(CMAKE_SKIP_INSTALL_ALL_DEPENDENCY true)
159159
install(TARGETS ${PROJECT_NAME} DESTINATION lib OPTIONAL)
160160
install(TARGETS ${PROJECT_NAME}_static DESTINATION lib OPTIONAL)
161161
install(FILES library.hpp DESTINATION include/native)
162-
install(FILES node.hpp DESTINATION include/native)
163162
install(DIRECTORY java DESTINATION include/native FILES_MATCHING PATTERN "*.hpp")
164163
install(DIRECTORY javax DESTINATION include/native FILES_MATCHING PATTERN "*.hpp")
165164
install(DIRECTORY kernel DESTINATION include/native FILES_MATCHING PATTERN "*.hpp")

README.md

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Native Library
2-
[![Build status](https://ci.appveyor.com/api/projects/status/5rbqtwl3nyb1vcyl?svg=true)](https://ci.appveyor.com/project/foodtiny/native) [![Build Status](https://travis-ci.org/foodtiny/native.svg?branch=master)](https://travis-ci.org/foodtiny/native)
3-
[![Coverage status](https://codecov.io/gh/foodtiny/native/branch/master/graph/badge.svg)](https://codecov.io/gh/foodtiny/native) [![Support Platform](https://img.shields.io/badge/platform-windows%20%7C%20linux%20%7C%20osx-blue.svg)]()
2+
[![Build status](https://ci.appveyor.com/api/projects/status/5rbqtwl3nyb1vcyl/branch/master?svg=true)](https://ci.appveyor.com/project/foodtiny/native) [![Build Status](https://travis-ci.org/foodtiny/native.svg?branch=master)](https://travis-ci.org/foodtiny/native)
3+
[![Coverage status](https://img.shields.io/codecov/c/github/foodtiny/native/master.svg)](https://codecov.io/gh/foodtiny/native) [![Support Platform](https://img.shields.io/badge/platform-windows%20%7C%20linux%20%7C%20darwin-blue.svg)]()
44

5-
**Native Library** brings productivity and maintainability for your C/C++ application like a Java program.
5+
**Native Library** brings productivity and maintainability for your C/C++ application as a Java program.
66

77
* Blazing fast performance, small footprint with no dependency required
88
* Provide rich Java Core classes compare to C++/STL
@@ -17,8 +17,8 @@ This project is also useful for new developers in practical programming.
1717

1818
## Getting started
1919
#### Docker
20-
```
21-
docker pull foodtiny/native:latest
20+
```bash
21+
$ docker pull foodtiny/native:latest
2222
```
2323

2424
#### Installation
@@ -28,6 +28,15 @@ $ cmake -DCMAKE_BUILD_TYPE=Release
2828
$ make native && sudo make install
2929
```
3030

31+
#### Benchmarking with C++/STL
32+
[Google Benchmark](https://github.com/google/benchmark) is required for benchmarking
33+
if you're using Linux or Mac please use ./misc/benchmark.sh to install
34+
```bash
35+
$ cmake -DCMAKE_BUILD_TYPE=Release
36+
$ make native_benchmark
37+
$ ./native_benchmark
38+
```
39+
3140
#### Examples
3241
```cpp
3342
#include <native/library.hpp>
@@ -78,7 +87,7 @@ More examples can be found [here](https://github.com/foodtiny/native/tree/master
7887

7988
### Contributors
8089
- This library must be followed [Oracle Java 8 Documentation](https://docs.oracle.com/javase/8/docs/api) for standardization
81-
- Make sure your commits must be passed before you create pull request
90+
- Make sure your commits must be passed with [check](./check) before you create pull request
8291
- At least one contributor in this project reviews your commits (except you) before merging
8392
- Best practices guidelines in [CONTRIBUTION.md](https://github.com/foodtiny/native/tree/master/CONTRIBUTION.md)
8493

benchmark/benchmark.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,6 @@
2828
#define NATIVE_BENCHMARK_HPP
2929

3030
#include <benchmark/benchmark.h>
31+
#define RANGE 100000
3132

3233
#endif //NATIVE_BENCHMARK_HPP

bindings/nodejs/addon/node_modules/bindings/README.md

Lines changed: 97 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)