Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Side by Side Diff: src/flag-definitions.h

Issue 25695002: Add flag for printing the time it took to deserialize the snapshot. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/snapshot-common.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
588 "preallocate some memory to build stack traces.") 588 "preallocate some memory to build stack traces.")
589 DEFINE_bool(randomize_hashes, 589 DEFINE_bool(randomize_hashes,
590 true, 590 true,
591 "randomize hashes to avoid predictable hash collisions " 591 "randomize hashes to avoid predictable hash collisions "
592 "(with snapshots this option cannot override the baked-in seed)") 592 "(with snapshots this option cannot override the baked-in seed)")
593 DEFINE_int(hash_seed, 593 DEFINE_int(hash_seed,
594 0, 594 0,
595 "Fixed seed to use to hash property keys (0 means random)" 595 "Fixed seed to use to hash property keys (0 means random)"
596 "(with snapshots this option cannot override the baked-in seed)") 596 "(with snapshots this option cannot override the baked-in seed)")
597 597
598 // snapshot-common.cc
599 DEFINE_bool(profile_deserialization,
600 false,
601 "Print the time it takes to deserialize the snapshot.")
602
598 // v8.cc 603 // v8.cc
599 DEFINE_bool(preemption, false, 604 DEFINE_bool(preemption, false,
600 "activate a 100ms timer that switches between V8 threads") 605 "activate a 100ms timer that switches between V8 threads")
601 606
602 // Regexp 607 // Regexp
603 DEFINE_bool(regexp_optimization, true, "generate optimized regexp code") 608 DEFINE_bool(regexp_optimization, true, "generate optimized regexp code")
604 609
605 // Testing flags test/cctest/test-{flags,api,serialization}.cc 610 // Testing flags test/cctest/test-{flags,api,serialization}.cc
606 DEFINE_bool(testing_bool_flag, true, "testing_bool_flag") 611 DEFINE_bool(testing_bool_flag, true, "testing_bool_flag")
607 DEFINE_maybe_bool(testing_maybe_bool_flag, "testing_maybe_bool_flag") 612 DEFINE_maybe_bool(testing_maybe_bool_flag, "testing_maybe_bool_flag")
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
852 #undef DEFINE_ALIAS_float 857 #undef DEFINE_ALIAS_float
853 #undef DEFINE_ALIAS_args 858 #undef DEFINE_ALIAS_args
854 859
855 #undef FLAG_MODE_DECLARE 860 #undef FLAG_MODE_DECLARE
856 #undef FLAG_MODE_DEFINE 861 #undef FLAG_MODE_DEFINE
857 #undef FLAG_MODE_DEFINE_DEFAULTS 862 #undef FLAG_MODE_DEFINE_DEFAULTS
858 #undef FLAG_MODE_META 863 #undef FLAG_MODE_META
859 #undef FLAG_MODE_DEFINE_IMPLICATIONS 864 #undef FLAG_MODE_DEFINE_IMPLICATIONS
860 865
861 #undef COMMA 866 #undef COMMA
OLDNEW
« no previous file with comments | « no previous file | src/snapshot-common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698