Giter VIP home page Giter VIP logo

bustub2020's Introduction

๐Ÿ’ก About

Student @ Shanghai Jiao Tong University

  • โš’๏ธ C / C++ / Python
  • ๐Ÿ”ญ Working on system software
  • ๐ŸŽฎ Like video games

bustub2020's People

Contributors

apavlo avatar at15 avatar darkforte avatar hcnelson99 avatar jigaoluo avatar l-iberty avatar lamduy-nguyen avatar liu-du avatar lmwnshn avatar louchenyao avatar mbutrovich avatar plsmaop avatar portablesounds avatar preetansh avatar pzhzqt avatar rickyyx avatar songzhaozhe avatar thepulkitagarwal avatar tupaschoal avatar utkarsh39 avatar wenxuanqiu avatar wuwenw avatar xffxff avatar xinzhu-cai avatar yiyuan-dong avatar yuhongzhang98 avatar zhou0ricky avatar ziyi-yan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

bustub2020's Issues

Lab2 has bugs.

Hi, I have done the my own lab2, and has passed all test code in gradescope.
But there is a question in my code that I can't understand, Why the time of crabing latch is larger than just use a global mutex ?

With this doubt, I test your source code.
Unfortunately, I found your code has a bug as shown in following, and also has the problem of the time of latch and mutex.

Running main() from gmock_main.cc
[==========] Running 7 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 7 tests from BPlusTreeConcurrentTest
[ RUN      ] BPlusTreeConcurrentTest.InsertTest1
[       OK ] BPlusTreeConcurrentTest.InsertTest1 (608 ms)
[ RUN      ] BPlusTreeConcurrentTest.InsertTest2
[       OK ] BPlusTreeConcurrentTest.InsertTest2 (394 ms)
[ RUN      ] BPlusTreeConcurrentTest.DeleteTest1
[       OK ] BPlusTreeConcurrentTest.DeleteTest1 (103 ms)
[ RUN      ] BPlusTreeConcurrentTest.DeleteTest2
[       OK ] BPlusTreeConcurrentTest.DeleteTest2 (106 ms)
[ RUN      ] BPlusTreeConcurrentTest.MixTest1
[       OK ] BPlusTreeConcurrentTest.MixTest1 (19748 ms)
[ RUN      ] BPlusTreeConcurrentTest.MixTest2
/home/fhkong/bustub2020-lab2/test/storage/grading_b_plus_tree_checkpoint_2_concurrent_test.cpp:446: Failure
Expected equality of these values:
  size
    Which is: 599
  perserved_keys.size()
    Which is: 600
[  FAILED  ] BPlusTreeConcurrentTest.MixTest2 (14673 ms)
[ RUN      ] BPlusTreeConcurrentTest.MixTest3
[       OK ] BPlusTreeConcurrentTest.MixTest3 (18888 ms)
[----------] 7 tests from BPlusTreeConcurrentTest (54520 ms total)

[----------] Global test environment tear-down
[==========] 7 tests from 1 test suite ran. (54520 ms total)
[  PASSED  ] 6 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] BPlusTreeConcurrentTest.MixTest2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.