You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Run `Build > Rebuild Solution`. This makes sure that the tools and generated code are up-to-date. It also creates the `journal_test.exe` binary.
21
-
* Select project `ksp_plugin` and run `Build > Profile Guided Optimization > Instrument`.
22
-
* Select project `journal` and run `Project > Set as StartUp Project`
23
-
* With project `journal` selected, run `Project > Properties`. For configuration `Release` select the `Debugging` page and set `Command Arguments` to `--gtest_filter=PlayerTest.Benchmarks`.
24
-
* Run `Debug > Start Without Debugging`.
25
-
* Answer `Do Not Continue With Build` to the dialog box that asks if you would want to rebuild `ksp_plugin`.
26
-
* Answer `Yes` to the dialog box that informs you that there were build errors.
27
-
* The executable runs. This takes a long time, 3-4 times longer than without instrumentation. Have a cup of coffee.
28
-
* Select project `ksp_plugin` and run `Build > Profile Guided Optimization > Optimize`. This creates the optimized `Principia.dll`.
29
-
* Zip the contents of the `<root>\Principia\Release\GameData` folder into `principia <mathematician>.zip`.
19
+
1. Remove all existing artifacts: `rm .\Release`.
20
+
1. Run `Build > Rebuild Solution`. This makes sure that the tools and generated code are up-to-date. It also creates the `journal_test.exe` binary.
21
+
1. Select project `ksp_plugin` and run `Build > Profile Guided Optimization > Instrument`.
22
+
1. Select project `journal` and run `Project > Set as StartUp Project`
23
+
1. With project `journal` selected, run `Project > Properties`. For configuration `Release` select the `Debugging` page and set `Command Arguments` to `--gtest_filter=PlayerTest.Benchmarks`.
24
+
1. Run `Debug > Start Without Debugging`.
25
+
1. Answer `Do Not Continue With Build` to the dialog box that asks if you would want to rebuild `ksp_plugin`.
26
+
1. Answer `Yes` to the dialog box that informs you that there were build errors.
27
+
1. The executable runs. This takes a long time, 3-4 times longer than without instrumentation. Have a cup of coffee.
28
+
1. Select project `ksp_plugin` and run `Build > Profile Guided Optimization > Optimize`. This creates the optimized `Principia.dll`.
29
+
1. Zip the contents of the `<root>\Principia\Release\GameData` folder into `principia <mathematician>.zip`.
0 commit comments