• Yang Guo's avatar
    Introduce script to collect deprecation statistics · 49dd27b0
    Yang Guo authored
    Example:
    
    ~/v8$ tools/deprecation_stats.py include/v8.h --before=2018-10-01
    Marked as V8_DEPRECATE_SOON: 21
         556 : 2017-11-15 11:00:49 : V8_INLINE void MarkIndependent()
         568 : 2017-11-15 11:00:49 : V8_INLINE bool IsIndependent() const
        2404 : 2018-09-24 13:05:31 : V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(Local<Context> context) const
        2421 : 2015-03-09 10:49:09 : Local<Number> ToNumber(Isolate* isolate) const
        2423 : 2015-03-09 10:49:09 : Local<String> ToString(Isolate* isolate) const
      <...>
        3416 : 2015-03-09 10:49:09 : Local<Array> GetOwnPropertyNames()
        3516 : 2015-03-09 10:49:09 : bool HasRealNamedProperty(Local<String> key)
        3533 : 2015-03-09 10:49:09 : bool HasRealIndexedProperty(uint32_t index)
        3537 : 2015-03-09 10:49:09 : bool HasRealNamedCallbackProperty(Local<String> key)
    Marked as V8_DEPRECATED: 9
        1395 : 2018-09-21 23:40:51 : const CachedData* GetCachedData() const
        1853 : 2018-09-20 11:46:49 : MaybeLocal<Value> Parse(Isolate* isolate, Local<String> json_string)
        1953 : 2018-09-20 11:46:49 : std::vector<uint8_t> ReleaseBuffer()
        1977 : 2018-09-20 11:46:49 : void TransferSharedArrayBuffer(uint32_t transfer_id, Local<SharedArrayBuffer> shared_array_buffer)
        5093 : 2018-09-20 11:46:49 : Local<Value> New(Isolate* isolate, double time)
        6355 : 2018-09-20 11:46:49 : size_t max_semi_space_size()
        6361 : 2018-09-20 11:46:49 : void set_max_semi_space_size(size_t limit_in_mb)
        6380 : 2018-09-20 11:46:49 : size_t max_executable_size() const
        6384 : 2018-09-20 11:46:49 : void set_max_executable_size(size_t limit_in_mb)
    
    R=delphick@chromium.org
    
    Change-Id: I723055d30457a4061cdc589a4be09c0279fd5923
    Reviewed-on: https://chromium-review.googlesource.com/c/1352307
    Commit-Queue: Dan Elphick <delphick@chromium.org>
    Commit-Queue: Yang Guo <yangguo@chromium.org>
    Reviewed-by: 's avatarDan Elphick <delphick@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#57906}
    49dd27b0
Name
Last commit
Last update
benchmarks Loading commit data...
build_overrides Loading commit data...
custom_deps Loading commit data...
docs Loading commit data...
gni Loading commit data...
include Loading commit data...
infra Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.clang-tidy Loading commit data...
.editorconfig Loading commit data...
.git-blame-ignore-revs Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.vpython Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...
snapshot_toolchain.gni Loading commit data...