-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ootk-multi): improved multithreading algorithm to reduce garbage …
…collection and variable cloning
- Loading branch information
Showing
4 changed files
with
49 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,8 @@ | ||
<html> | ||
<head> | ||
<script src="./dist/ootk.js"></script> | ||
<script> | ||
var line1 = "1 00005U 58002B 00179.78495062 .00000023 00000-0 00098-0 0 4753"; | ||
var line2 ="2 00005 34.2682 348.7242 1859667 331.7664 19.3264 10.82419157413667"; | ||
var satrec = Ootk.Sgp4.createSatrec(line1, line2, "wgs72", "i"); | ||
var multi = new Ootk.Multi(8); | ||
multi.propagate([satrec], [0,1,2,3,4,5,6,7,8,9,10]).then((m) => console.log(m)) | ||
</script> | ||
<script src="./test/performance/satellite.js"></script> | ||
<script src="./test/performance/performance.js"></script> | ||
</head> | ||
<body></body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters