The question is, which one is strong in code hosting?

Source: Internet
Author: User

Programmers are a long-standing industry. However, the developer service market has suddenly become very popular recently. In the face of various endless cloud services, such as cloud development, backend storage, and code hosting, is there a crazy pace in minutes ?! There are many code hosting services in China, such as GitHub, [email protected], code, gitcafe, and coding ...... First, we will make a simple horizontal evaluation of these items for your reference.


I. Performance Testing

We use code hosting services in two ways: client and web. The client is generally used to pull/push code. During the actual test, it is found that client operations differ greatly from each other in different service providers, so they are not compiled into reports. The main experience is different on the Web end.

A series of common web operations were performed in Beijing and Guangdong respectively, recording the time. Select 10 different open-source projects, which are large and small, and perform the same operations on these projects.

1. Test Environment

HOST: qingcloud host, 2-core/2g RAM

Network: 2 Mbps outbound (because it is a server, the entry bandwidth should be large, and the specific data is unknown)

Operating System: Microsoft Windows 2003 r2 32 bits

Browser: Mozilla Firefox 32.0.3

2. Test content

(1) Open the project code directory tree


(2) open a single project file to view the code


(3) Open the commit list page


(4) Open the commit details page


3. Test Results

Region: Beijing

(1) Open the project code directory tree



(2) open a single project file to view the code



(3) Open the commit list page



Region: Guangdong

(1) Open the project code directory tree



(2) open a single project file to view the code



(3) Open the commit list page



(4) Open the commit details page



4. Result description

The unit of the preceding test result data is second. The smaller the value, the better.

The opening speed of the commit details page of coding is basically invisible in the chart because the value is too small (especially in Beijing). Because the downlink speed is relatively large, the transmission time can be ignored, test data can be roughly equivalent to the time used by the server to process and output data.

Comparison of loading methods for different service providers and different pages:


I. Function Testing

Common functions of the Code hosting service:


There are several notes:

1. Private project pull request, coding.net is implemented through merge request, with different names and the same functions.

2. The Protection Branch looks like coding.net is specially developed for team collaboration. Some branches only have some accounts with write operations to prevent misoperation during development.

3. It seems that only GitHub is compatible with SVN.

4. Code Quality Analysis coding.net and [email protected] are implemented through sonar. coding. Net supports many languages, but the analysis quality is very general.

Ii. Result Analysis

In terms of functionality, GitHub provides the most comprehensive functions. In terms of performance, coding.net has obvious advantages, which may be related to coding self-developed by Java. From the front-end Code, both coding and GitHub use Ajax extensively, which is helpful for speed and experience.

So the question is, which one is better at code hosting?

 

The question is, which one is strong in code hosting?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.