Skip to content

Commit

Permalink
feat: print v8 version on start
Browse files Browse the repository at this point in the history
  • Loading branch information
rigor789 committed Mar 22, 2023
1 parent 9871d26 commit be64e3f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions NativeScript/NativeScript.mm
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ - (instancetype)initWithConfig:(Config*)config {
std::chrono::high_resolution_clock::time_point t2 = std::chrono::high_resolution_clock::now();
auto duration = std::chrono::duration_cast<std::chrono::milliseconds>(t2 - t1).count();
printf("Runtime initialization took %llims\n", duration);
printf("Runtime V8 Version %s\n", V8::GetVersion());

if (config.IsDebug) {
Isolate::Scope isolate_scope(isolate);
Expand Down

0 comments on commit be64e3f

Please sign in to comment.