Your Trusted B2B Sourcing Platform About | Help | Sign In | Post Request
Buying Guide

How to Use a CNC Machining Cost Per Part Calculator: A Buyer's Guide for International Sourcing

Why a CNC Machining Cost Per Part Calculator Is Your Best Negotiation Tool

When sourcing CNC machined parts from international suppliers—especially from China—the quoted price can feel like a black box. A cnc machining cost per part calculator breaks that box open. It gives you a transparent, bottom-up estimate based on material, machining time, setup, tolerances, finishing, and order volume. With this data, you can validate quotes, compare suppliers fairly, and negotiate from a position of knowledge rather than guesswork.

This guide explains how these calculators work, what benchmarks to use, and how to spot hidden costs. We'll also share real-world price data from our supplier directory to ground your expectations.

A male welder operates in a factory setting, using protective gear for safety. (Photo: JL Photographie / Pexels)

How a CNC Machining Cost Per Part Calculator Works

At its core, a cost-per-part calculator models the total cost of producing one unit. The formula typically looks like this:

Cost per part = (Material cost + Machining cost + Setup cost + Finishing cost + Overhead & profit) / Quantity

Each component is driven by specific variables:

  • Material cost: Raw material type, size, and weight, plus any waste factor.
  • Machining cost: Machine hourly rate multiplied by cycle time (including tool changes and rapid moves).
  • Setup cost: Fixturing, programming, and first-article inspection, amortized over the batch.
  • Finishing cost: Deburring, anodizing, plating, painting, heat treatment, etc.
  • Overhead & profit: Supplier's margin, typically 15–30% for Chinese manufacturers.

Volume dramatically affects the per-part price because setup costs are spread over more units. For example, a part with $500 setup will add $50 per part at quantity 10, but only $5 at quantity 100.

Key Factors That Drive Cost (and How to Benchmark Them)

1. Material Selection

Material is often the largest cost driver. Aluminum 6061 is cheap and machinable; stainless steel 316 is tougher and more expensive; titanium is both costly and slow to machine. Here are typical material cost benchmarks for small-to-medium volumes (per kg, USD):

MaterialApprox. Cost per kgMachinability Rating
Aluminum 6061$3–$5Excellent
Steel 1018$1–$2Good
Stainless Steel 304$4–$6Moderate
Stainless Steel 316$6–$8Moderate
Titanium Grade 5$30–$50Poor
Brass C360$8–$10Excellent

Keep in mind that material cost per part also depends on how much material is removed. A part that is 80% machined away from a solid block will have higher material waste than one near-net shape.

2. Machining Time

Cycle time is the second major cost. It includes cutting, tool changes, and rapid positioning. A calculator estimates cycle time based on part geometry, tool paths, and material removal rate. For example, a simple bracket might take 5 minutes, while a complex aerospace component could take hours.

Machine hourly rates in China vary by machine type:

  • 3-axis CNC mill: $15–$25 per hour
  • 4-axis CNC mill: $25–$40 per hour
  • 5-axis CNC mill: $40–$80 per hour
  • CNC lathe: $15–$30 per hour
  • EDM: $30–$60 per hour

These rates are lower than in North America or Europe, but the gap narrows for high-precision or 5-axis work.

3. Tolerances and Surface Finish

Tighter tolerances and finer surface finishes increase machining time and inspection costs. Standard tolerances (±0.1 mm) are relatively cheap; precision tolerances (±0.01 mm) can add 30–50% to the machining cost. Similarly, a mirror finish (Ra 0.4) may require additional polishing or slower feed rates.

Tolerance ClassTypical RangeCost Impact
Standard±0.1 mmBaseline
Precision±0.05 mm+15–25%
High Precision±0.01 mm+30–50%
Ultra Precision±0.005 mm+50–100%

4. Order Volume

Volume discounts are significant. Setup costs are fixed, so doubling quantity can reduce per-part cost by 20–40%. However, beyond a certain point, material and machining time dominate, and the curve flattens. A calculator helps you find the optimal order quantity.

5. Finishing and Secondary Operations

Finishing can add 10–50% to the base cost. Common finishes and their typical cost impact:

  • Deburring: 5–10%
  • Anodizing (Type II): 10–20%
  • Hard anodizing (Type III): 20–30%
  • Powder coating: 15–25%
  • Zinc plating: 10–20%
  • Heat treatment: 20–40%
Large industrial crane handling scrap metal in a warehouse setting. (Photo: Willians Huerta / Pexels)

Real-World Price Range from Our Supplier Directory

To give you a concrete anchor, our directory currently lists 1 verified supplier and 4 products in this category. Example products include Automotive Control Arm Bracket, Construction Steel Hinge Bracket, Aluminum Rail Mounting Plate, and Heavy-Duty Steel Locking Bracket. The observed unit price range across these products is $2.8 to $12 per part.

This range reflects differences in material (aluminum vs. steel), complexity, and order volume. Use it as a sanity check: if a quote for a similar bracket comes in at $30, either the quantity is very low, the tolerances are extreme, or something is off.

Red Flags When Evaluating Supplier Quotes

Even with a calculator, suppliers may pad costs or cut corners. Watch for these red flags:

  • No breakdown: A quote that only gives a lump sum without material, machining, and setup details is hard to validate.
  • Unrealistically low price: If a quote is 50% below your calculator estimate, the supplier may be using inferior material, skipping inspection, or planning to charge extra later.
  • Vague tolerances: “As per drawing” without specifying achievable tolerances can lead to disputes.
  • No mention of finishing: Finishing is often omitted to make the base price look attractive, then added as a change order.
  • Pressure to order large volumes: Some suppliers push high MOQs to lock in cash flow, even if you don't need the parts yet.
  • Poor communication: Slow or evasive answers to technical questions often signal deeper problems.

Questions to Ask Suppliers

Before you commit, ask these questions to uncover hidden costs and assess capability:

  1. Can you provide a cost breakdown by material, machining, setup, and finishing?
  2. What is your standard tolerance, and what is the cost to achieve tighter tolerances?
  3. What is the lead time for the first article and for production quantities?
  4. What quality certifications do you hold (ISO 9001, IATF 16949, AS9100)?
  5. How do you handle first-article inspection and ongoing quality control?
  6. What is your policy on material certificates and traceability?
  7. Are there any additional costs for packaging, shipping, or tariffs?
  8. What is your payment term, and do you require a deposit?
  9. Can you provide references from similar international clients?
  10. How do you handle design changes or engineering support?

Hidden-Cost Checklist

Even the best calculator can miss costs that appear later. Use this checklist to avoid surprises:

  • Tooling and fixturing: Custom fixtures may be charged separately.
  • Programming: Some suppliers charge for CAM programming, especially for complex parts.
  • Inspection and testing: CMM reports, material certificates, and destructive testing can add cost.
  • Packaging: Export-grade packaging, custom crates, or desiccant may be extra.
  • Shipping and logistics: Freight, insurance, and customs duties are rarely included in the unit price.
  • Currency fluctuation: If quoting in USD, suppliers may include a buffer for exchange rate risk.
  • Minimum order quantity (MOQ): Low-volume orders may incur a surcharge.
  • Rush fees: Expedited production often carries a premium.
  • Payment fees: Wire transfer fees, PayPal charges, or letter of credit costs.
  • Tariffs and taxes: Import duties vary by country and can significantly impact landed cost.

Supplier Quote Comparison Template

To compare quotes fairly, normalize all costs to a landed-cost-per-part basis. Use this template:

Cost ComponentSupplier ASupplier BSupplier C
Unit price (FOB)
Tooling/fixturing
Programming
Inspection/testing
Packaging
Freight & insurance
Customs duties
Payment fees
Total landed cost
Quantity
Landed cost per part

This template forces you to account for every cost, making it easy to see which supplier offers the best true value.

Frequently Asked Questions

How accurate are CNC machining cost per part calculators?

They are typically within 10–20% of actual quotes, provided you input accurate geometry, material, and tolerance data. Use them as a benchmark, not a replacement for real supplier quotes. Discrepancies often arise from differences in machine rates, overhead, and profit margins.

Why is the price per part so different between suppliers for the same drawing?

Variations come from machine hourly rates, material sourcing, overhead costs, profit margins, and order volume. A supplier with newer, faster machines may quote lower machining time but higher hourly rates. Always compare landed cost, not just unit price.

Should I always choose the lowest quote?

No. The lowest quote may indicate inferior material, skipped inspections, or hidden costs. Evaluate the total landed cost, quality certifications, communication responsiveness, and past performance. A slightly higher quote from a reliable supplier often saves money in the long run.

Conclusion

A cnc machining cost per part calculator is more than a number-crunching tool—it's a strategic asset for international sourcing. By understanding the drivers of cost and using real benchmarks like our directory's $2.8–$12 range, you can validate quotes, spot red flags, and negotiate with confidence. Combine the calculator with a thorough supplier evaluation and a landed-cost comparison to make informed decisions that protect your budget and your product quality.

Ready to source from verified suppliers? Get free quotes and compare offers within 24 hours.

Frequently Asked Questions

How accurate are CNC machining cost per part calculators?

They are typically within 10–20% of actual quotes, provided you input accurate geometry, material, and tolerance data. Use them as a benchmark, not a replacement for real supplier quotes. Discrepancies often arise from differences in machine rates, overhead, and profit margins.

Why is the price per part so different between suppliers for the same drawing?

Variations come from machine hourly rates, material sourcing, overhead costs, profit margins, and order volume. A supplier with newer, faster machines may quote lower machining time but higher hourly rates. Always compare landed cost, not just unit price.

Should I always choose the lowest quote?

No. The lowest quote may indicate inferior material, skipped inspections, or hidden costs. Evaluate the total landed cost, quality certifications, communication responsiveness, and past performance. A slightly higher quote from a reliable supplier often saves money in the long run.

Ready to Get Your CNC Parts Made in China

Get matched with verified suppliers who can meet your exact specifications.

Get Free Quotes
基本 文件 流程 错误 SQL 调试
  1. 请求信息 : 2026-10-24 14:50:25 HTTP/2.0 GET : https://www.cnc-parts-china.com/guides/how-to-use-a-cnc-machining-cost-per-part-calculator-a-buyers-guide-for-international-sourcing
  2. 运行时间 : 0.070226s [ 吞吐率:14.24req/s ] 内存消耗:5,227.75kb 文件加载:153
  3. 缓存信息 : 0 reads,0 writes
  4. 会话信息 : SESSION_ID=b6471567b9ccf91c1f6d92e8fe9a9823
  1. /www/wwwroot/www.cnc-parts-china.com/public/index.php ( 0.79 KB )
  2. /www/wwwroot/www.cnc-parts-china.com/vendor/autoload.php ( 0.75 KB )
  3. /www/wwwroot/www.cnc-parts-china.com/vendor/composer/autoload_real.php ( 1.63 KB )
  4. /www/wwwroot/www.cnc-parts-china.com/vendor/composer/platform_check.php ( 0.90 KB )
  5. /www/wwwroot/www.cnc-parts-china.com/vendor/composer/ClassLoader.php ( 15.99 KB )
  6. /www/wwwroot/www.cnc-parts-china.com/vendor/composer/autoload_static.php ( 6.03 KB )
  7. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-helper/src/helper.php ( 8.34 KB )
  8. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-validate/src/helper.php ( 2.19 KB )
  9. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/helper.php ( 1.47 KB )
  10. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/stubs/load_stubs.php ( 0.16 KB )
  11. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Exception.php ( 1.69 KB )
  12. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-container/src/Facade.php ( 2.71 KB )
  13. /www/wwwroot/www.cnc-parts-china.com/vendor/ralouphie/getallheaders/src/getallheaders.php ( 1.60 KB )
  14. /www/wwwroot/www.cnc-parts-china.com/vendor/symfony/polyfill-mbstring/bootstrap.php ( 8.26 KB )
  15. /www/wwwroot/www.cnc-parts-china.com/vendor/symfony/polyfill-mbstring/bootstrap80.php ( 9.78 KB )
  16. /www/wwwroot/www.cnc-parts-china.com/vendor/symfony/var-dumper/Resources/functions/dump.php ( 0.99 KB )
  17. /www/wwwroot/www.cnc-parts-china.com/vendor/ezyang/htmlpurifier/library/HTMLPurifier.composer.php ( 0.10 KB )
  18. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-dumper/src/helper.php ( 0.18 KB )
  19. /www/wwwroot/www.cnc-parts-china.com/vendor/symfony/var-dumper/VarDumper.php ( 3.73 KB )
  20. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/App.php ( 15.30 KB )
  21. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-container/src/Container.php ( 15.76 KB )
  22. /www/wwwroot/www.cnc-parts-china.com/vendor/psr/container/src/ContainerInterface.php ( 1.02 KB )
  23. /www/wwwroot/www.cnc-parts-china.com/app/provider.php ( 0.19 KB )
  24. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Http.php ( 6.22 KB )
  25. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-helper/src/helper/Str.php ( 7.29 KB )
  26. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Env.php ( 4.68 KB )
  27. /www/wwwroot/www.cnc-parts-china.com/app/common.php ( 0.90 KB )
  28. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/helper.php ( 18.77 KB )
  29. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Config.php ( 5.93 KB )
  30. /www/wwwroot/www.cnc-parts-china.com/config/app.php ( 0.95 KB )
  31. /www/wwwroot/www.cnc-parts-china.com/config/cache.php ( 0.78 KB )
  32. /www/wwwroot/www.cnc-parts-china.com/config/console.php ( 1.07 KB )
  33. /www/wwwroot/www.cnc-parts-china.com/config/cookie.php ( 0.56 KB )
  34. /www/wwwroot/www.cnc-parts-china.com/config/database.php ( 2.13 KB )
  35. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/facade/Env.php ( 1.67 KB )
  36. /www/wwwroot/www.cnc-parts-china.com/config/filesystem.php ( 0.61 KB )
  37. /www/wwwroot/www.cnc-parts-china.com/config/lang.php ( 0.91 KB )
  38. /www/wwwroot/www.cnc-parts-china.com/config/log.php ( 1.35 KB )
  39. /www/wwwroot/www.cnc-parts-china.com/config/middleware.php ( 0.19 KB )
  40. /www/wwwroot/www.cnc-parts-china.com/config/route.php ( 2.27 KB )
  41. /www/wwwroot/www.cnc-parts-china.com/config/session.php ( 0.69 KB )
  42. /www/wwwroot/www.cnc-parts-china.com/config/trace.php ( 0.34 KB )
  43. /www/wwwroot/www.cnc-parts-china.com/config/view.php ( 0.82 KB )
  44. /www/wwwroot/www.cnc-parts-china.com/app/event.php ( 0.25 KB )
  45. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Event.php ( 7.77 KB )
  46. /www/wwwroot/www.cnc-parts-china.com/app/service.php ( 0.13 KB )
  47. /www/wwwroot/www.cnc-parts-china.com/app/AppService.php ( 0.26 KB )
  48. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Service.php ( 1.64 KB )
  49. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Lang.php ( 7.35 KB )
  50. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/lang/zh-cn.php ( 13.70 KB )
  51. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/initializer/Error.php ( 3.31 KB )
  52. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/initializer/RegisterService.php ( 1.33 KB )
  53. /www/wwwroot/www.cnc-parts-china.com/vendor/services.php ( 0.15 KB )
  54. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/service/PaginatorService.php ( 1.52 KB )
  55. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/service/ValidateService.php ( 0.99 KB )
  56. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/service/ModelService.php ( 2.04 KB )
  57. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-trace/src/Service.php ( 0.77 KB )
  58. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Middleware.php ( 6.72 KB )
  59. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/initializer/BootService.php ( 0.77 KB )
  60. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/Paginator.php ( 11.86 KB )
  61. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-validate/src/Validate.php ( 63.20 KB )
  62. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/Model.php ( 23.55 KB )
  63. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-helper/src/contract/Arrayable.php ( 0.09 KB )
  64. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-helper/src/contract/Jsonable.php ( 0.13 KB )
  65. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/model/contract/Modelable.php ( 0.09 KB )
  66. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/model/concern/Attribute.php ( 21.05 KB )
  67. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/model/concern/AutoWriteData.php ( 4.20 KB )
  68. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/model/concern/Conversion.php ( 6.75 KB )
  69. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/model/concern/DbConnect.php ( 5.16 KB )
  70. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/model/concern/ModelEvent.php ( 2.33 KB )
  71. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/model/concern/RelationShip.php ( 28.30 KB )
  72. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Db.php ( 2.88 KB )
  73. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/DbManager.php ( 8.52 KB )
  74. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Log.php ( 6.28 KB )
  75. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Manager.php ( 3.92 KB )
  76. /www/wwwroot/www.cnc-parts-china.com/vendor/psr/log/src/LoggerInterface.php ( 2.71 KB )
  77. /www/wwwroot/www.cnc-parts-china.com/vendor/psr/log/src/LoggerTrait.php ( 2.69 KB )
  78. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Cache.php ( 4.92 KB )
  79. /www/wwwroot/www.cnc-parts-china.com/vendor/psr/simple-cache/src/CacheInterface.php ( 4.71 KB )
  80. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-helper/src/helper/Arr.php ( 17.45 KB )
  81. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/cache/driver/File.php ( 7.84 KB )
  82. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/cache/Driver.php ( 9.02 KB )
  83. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/contract/CacheHandlerInterface.php ( 1.99 KB )
  84. /www/wwwroot/www.cnc-parts-china.com/app/Request.php ( 0.09 KB )
  85. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Request.php ( 54.64 KB )
  86. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/traits/UrlHandler.php ( 6.05 KB )
  87. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/traits/DomainHandler.php ( 5.49 KB )
  88. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/traits/HttpMethodHandler.php ( 4.74 KB )
  89. /www/wwwroot/www.cnc-parts-china.com/app/middleware.php ( 0.30 KB )
  90. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Pipeline.php ( 2.61 KB )
  91. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-trace/src/TraceDebug.php ( 3.40 KB )
  92. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/middleware/SessionInit.php ( 1.94 KB )
  93. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Session.php ( 1.80 KB )
  94. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/session/driver/File.php ( 6.27 KB )
  95. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/contract/SessionHandlerInterface.php ( 0.87 KB )
  96. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/session/Store.php ( 7.12 KB )
  97. /www/wwwroot/www.cnc-parts-china.com/app/middleware/InstallCheck.php ( 0.82 KB )
  98. /www/wwwroot/www.cnc-parts-china.com/app/middleware/Maintenance.php ( 1.64 KB )
  99. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/facade/Db.php ( 0.93 KB )
  100. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/connector/Mysql.php ( 5.73 KB )
  101. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/PDOConnection.php ( 53.74 KB )
  102. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/Connection.php ( 8.39 KB )
  103. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/ConnectionInterface.php ( 4.57 KB )
  104. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/builder/Mysql.php ( 16.58 KB )
  105. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/Builder.php ( 24.07 KB )
  106. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/BaseBuilder.php ( 27.50 KB )
  107. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/Query.php ( 15.97 KB )
  108. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/BaseQuery.php ( 45.13 KB )
  109. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/concern/TimeFieldQuery.php ( 7.43 KB )
  110. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/concern/AggregateQuery.php ( 3.26 KB )
  111. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/concern/ModelRelationQuery.php ( 20.07 KB )
  112. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/concern/ParamsBind.php ( 3.66 KB )
  113. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/concern/ResultOperation.php ( 7.01 KB )
  114. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/concern/WhereQuery.php ( 19.37 KB )
  115. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/concern/JoinAndViewQuery.php ( 7.11 KB )
  116. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/concern/TableFieldInfo.php ( 2.63 KB )
  117. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/concern/Transaction.php ( 2.77 KB )
  118. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/log/driver/File.php ( 6.10 KB )
  119. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/contract/LogHandlerInterface.php ( 0.86 KB )
  120. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/log/Channel.php ( 3.89 KB )
  121. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/event/LogRecord.php ( 1.02 KB )
  122. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Route.php ( 23.73 KB )
  123. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/route/RuleName.php ( 5.74 KB )
  124. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/route/Domain.php ( 2.53 KB )
  125. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/route/RuleGroup.php ( 22.41 KB )
  126. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/route/Rule.php ( 27.49 KB )
  127. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/route/RuleItem.php ( 9.78 KB )
  128. /www/wwwroot/www.cnc-parts-china.com/route/admin.php ( 11.49 KB )
  129. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/facade/Route.php ( 4.70 KB )
  130. /www/wwwroot/www.cnc-parts-china.com/route/app.php ( 3.73 KB )
  131. /www/wwwroot/www.cnc-parts-china.com/route/install.php ( 0.59 KB )
  132. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/route/dispatch/Controller.php ( 4.74 KB )
  133. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/route/Dispatch.php ( 11.32 KB )
  134. /www/wwwroot/www.cnc-parts-china.com/app/controller/content/Guide.php ( 1.71 KB )
  135. /www/wwwroot/www.cnc-parts-china.com/app/controller/front/BaseFrontController.php ( 70.19 KB )
  136. /www/wwwroot/www.cnc-parts-china.com/app/BaseController.php ( 6.06 KB )
  137. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/facade/View.php ( 1.70 KB )
  138. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/facade/Config.php ( 1.37 KB )
  139. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/View.php ( 4.39 KB )
  140. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/facade/Session.php ( 1.79 KB )
  141. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-helper/src/Collection.php ( 16.47 KB )
  142. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/Express.php ( 1.53 KB )
  143. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/Raw.php ( 1.30 KB )
  144. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Response.php ( 9.07 KB )
  145. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/response/View.php ( 3.29 KB )
  146. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Cookie.php ( 6.06 KB )
  147. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-view/src/Think.php ( 8.38 KB )
  148. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/contract/TemplateHandlerInterface.php ( 1.60 KB )
  149. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-template/src/Template.php ( 46.61 KB )
  150. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-template/src/template/driver/File.php ( 2.41 KB )
  151. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-template/src/template/contract/DriverInterface.php ( 0.86 KB )
  152. /www/wwwroot/www.cnc-parts-china.com/runtime/temp/7ca10c289ae36b7629e662dcf2e3aff0.php ( 14.04 KB )
  153. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-trace/src/Html.php ( 4.42 KB )
  1. CONNECT:[ UseTime:0.000673s ] mysql:host=127.0.0.1;port=3306;dbname=cncpartsch;charset=utf8mb4
  2. SHOW FULL COLUMNS FROM `kt_system_config` [ RunTime:0.001404s ]
  3. SELECT `config_value` FROM `kt_system_config` WHERE `config_key` = 'maintenance_mode' LIMIT 1 [ RunTime:0.000649s ]
  4. SHOW TABLES LIKE 'kt_site' [ RunTime:0.001494s ]
  5. SHOW FULL COLUMNS FROM `kt_site` [ RunTime:0.001974s ]
  6. SELECT `favicon` FROM `kt_site` ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000523s ]
  7. SHOW TABLES LIKE 'kt_system_config' [ RunTime:0.001207s ]
  8. SELECT `config_value` FROM `kt_system_config` WHERE `config_key` = 'site_favicon' LIMIT 1 [ RunTime:0.000624s ]
  9. SELECT `logo` FROM `kt_site` ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000304s ]
  10. SELECT `config_value` FROM `kt_system_config` WHERE `config_key` = 'site_logo' LIMIT 1 [ RunTime:0.000358s ]
  11. SELECT `name` FROM `kt_site` ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000291s ]
  12. SELECT * FROM `kt_site` ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000522s ]
  13. SELECT `config_value`,`config_key` FROM `kt_system_config` WHERE `config_key` IN ('site_name','site_domain','site_subtitle','site_description','site_logo','site_favicon','site_keywords','seo_home_title','seo_home_description','seo_home_keywords','contact_phone','contact_wechat','icp_code') [ RunTime:0.000581s ]
  14. SHOW FULL COLUMNS FROM `kt_category` [ RunTime:0.001633s ]
  15. SHOW COLUMNS FROM `kt_category` [ RunTime:0.001090s ]
  16. SELECT * FROM `kt_category` WHERE `parent_id` = 0 AND `site_id` = 1 AND `status` = 1 ORDER BY `sort` DESC,`id` ASC LIMIT 5 [ RunTime:0.000610s ]
  17. SHOW FULL COLUMNS FROM `kt_news` [ RunTime:0.001492s ]
  18. SELECT * FROM `kt_news` WHERE `site_id` = 1 AND `slug` = 'how-to-use-a-cnc-machining-cost-per-part-calculator-a-buyers-guide-for-international-sourcing' AND `content_type` = 'buying_guide' AND `publish_status` = 'published' LIMIT 1 [ RunTime:0.000593s ]
  19. UPDATE `kt_news` SET `views` = `views` + 1 WHERE `id` = 329 [ RunTime:0.002415s ]
  20. SHOW FULL COLUMNS FROM `kt_news_data` [ RunTime:0.001169s ]
  21. SELECT * FROM `kt_news_data` WHERE `news_id` = 329 LIMIT 1 [ RunTime:0.001118s ]
  22. SELECT * FROM `kt_news` WHERE `site_id` = 1 AND `publish_status` = 'published' AND `category_id` = 80 AND `id` <> 329 AND `content_type` IN ('article','buying_guide','comparison','case_study') ORDER BY content_type = 'buying_guide' DESC,`id` DESC LIMIT 8 [ RunTime:0.001338s ]
0.077482s